Interface ComponentTypeStructure
- All Known Implementing Classes:
DefaultComponentTypeStructure
public interface ComponentTypeStructure
Represents meta-information about a
ComposedTypeModel and the populators required to convert this
information to a ComponentTypeData.-
Method Summary
Modifier and TypeMethodDescriptionGet the attributes that should be considered by the ComponentTypeStructure.Get the category in which this type belongs to.Get the populators to be used when converting the representingComposedTypeModelto aComponentTypeData.Get the typecode identifying theComposedTypeModel.Deprecated, for removal: This API element is subject to removal in a future version.since 1811, no longer neededvoidsetCategory(StructureTypeCategory category) Sets the category for this component type.voidsetPopulators(List<Populator<ComposedTypeModel, ComponentTypeData>> populators) Sets the populators to be used when converting the representingComposedTypeModelto aComponentTypeData.voidsetTypecode(String typecode) Sets the typecode identifying theComposedTypeModel.voidsetTypeDataClass(Class typeDataClass) Deprecated, for removal: This API element is subject to removal in a future version.since 1811, no longer needed
-
Method Details
-
getTypecode
String getTypecode()Get the typecode identifying theComposedTypeModel.- Returns:
- the typecode
-
setTypecode
Sets the typecode identifying theComposedTypeModel.- Parameters:
typecode- - the typecode
-
getCategory
StructureTypeCategory getCategory()Get the category in which this type belongs to. By default and for backwards compatibility, all categories are set to COMPONENT enum type.- Returns:
- the category
-
setCategory
Sets the category for this component type. By default, if the category is not set, the category is of the COMPONENT enum type.- Parameters:
category-
-
getTypeDataClass
Deprecated, for removal: This API element is subject to removal in a future version.since 1811, no longer neededGet the concrete Type Data class representing this type- Returns:
- the concrete class that represents the Type Structure
-
setTypeDataClass
Deprecated, for removal: This API element is subject to removal in a future version.since 1811, no longer neededOptional. Sets the concrete Type Data class representing this type.- Parameters:
typeDataClass- The concrete class that represents the Type Structure
-
getAttributes
Set<ComponentTypeAttributeStructure> getAttributes()Get the attributes that should be considered by the ComponentTypeStructure.- Returns:
- the attributes or an empty set
-
getPopulators
List<Populator<ComposedTypeModel,ComponentTypeData>> getPopulators()Get the populators to be used when converting the representingComposedTypeModelto aComponentTypeData.- Returns:
- the populators
-
setPopulators
Sets the populators to be used when converting the representingComposedTypeModelto aComponentTypeData.- Parameters:
populators- - the populators
-