Interface ComponentTypeStructureRegistry
- All Known Implementing Classes:
DefaultComponentTypeStructureRegistry
public interface ComponentTypeStructureRegistry
Registry that stores a collection of
ComponentTypeStructure elements.-
Method Summary
Modifier and TypeMethodDescriptiongetAbstractComponentTypeStructure(String itemtype) Deprecated, for removal: This API element is subject to removal in a future version.since 1905, not needed by the generic structure servicegetComponentTypeAttributeStructure(String typecode, String qualifier) Get a specificComponentTypeAttributeStructureby typecode and qualifier.getComponentTypeStructure(String typecode) Get a specificComponentTypeStructureby its typecode.Get all elements in the registry.
-
Method Details
-
getComponentTypeAttributeStructure
Optional<ComponentTypeAttributeStructure> getComponentTypeAttributeStructure(String typecode, String qualifier) Get a specificComponentTypeAttributeStructureby typecode and qualifier.- Parameters:
typecode- - the typecode of the element to retrieve from the registry.qualifier- - the qualifier of the element to retrieve from the registry.- Returns:
- the element matching the typecode and qualifier
-
getComponentTypeStructure
Get a specificComponentTypeStructureby its typecode.- Parameters:
typecode- - the typecode of the element to retrieve from the registry.- Returns:
- the element matching the typecode
-
getComponentTypeStructures
Collection<ComponentTypeStructure> getComponentTypeStructures()Get all elements in the registry.- Returns:
- all items in the registry or an empty collection if no elements are found.
-
getAbstractComponentTypeStructure
@Deprecated(since="1905", forRemoval=true) ComponentTypeStructure getAbstractComponentTypeStructure(String itemtype) Deprecated, for removal: This API element is subject to removal in a future version.since 1905, not needed by the generic structure serviceGet a specificComponentTypeStructureof an Abstract type by its itemtype.- Parameters:
itemtype- - the itemtype of the element to retrieve from the registry.- Returns:
- the element matching the itemtype
-