Interface ComponentTypeStructure
-
- All Known Implementing Classes:
DefaultComponentTypeStructure
public interface ComponentTypeStructureRepresents meta-information about aComposedTypeModeland the populators required to convert this information to aComponentTypeData.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Set<ComponentTypeAttributeStructure>getAttributes()Get the attributes that should be considered by the ComponentTypeStructure.StructureTypeCategorygetCategory()Get the category in which this type belongs to.java.util.List<Populator<ComposedTypeModel,ComponentTypeData>>getPopulators()Get the populators to be used when converting the representingComposedTypeModelto aComponentTypeData.java.lang.StringgetTypecode()Get the typecode identifying theComposedTypeModel.java.lang.ClassgetTypeDataClass()Deprecated.since 1811, no longer neededvoidsetCategory(StructureTypeCategory category)Sets the category for this component type.voidsetPopulators(java.util.List<Populator<ComposedTypeModel,ComponentTypeData>> populators)Sets the populators to be used when converting the representingComposedTypeModelto aComponentTypeData.voidsetTypecode(java.lang.String typecode)Sets the typecode identifying theComposedTypeModel.voidsetTypeDataClass(java.lang.Class typeDataClass)Deprecated.since 1811, no longer needed
-
-
-
Method Detail
-
getTypecode
java.lang.String getTypecode()
Get the typecode identifying theComposedTypeModel.- Returns:
- the typecode
-
setTypecode
void setTypecode(java.lang.String typecode)
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
void setCategory(StructureTypeCategory category)
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 java.lang.Class getTypeDataClass()
Deprecated.since 1811, no longer neededGet the concrete Type Data class representing this type- Returns:
- the concrete class that represents the Type Structure
-
setTypeDataClass
@Deprecated void setTypeDataClass(java.lang.Class typeDataClass)
Deprecated.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
java.util.Set<ComponentTypeAttributeStructure> getAttributes()
Get the attributes that should be considered by the ComponentTypeStructure.- Returns:
- the attributes or an empty set
-
getPopulators
java.util.List<Populator<ComposedTypeModel,ComponentTypeData>> getPopulators()
Get the populators to be used when converting the representingComposedTypeModelto aComponentTypeData.- Returns:
- the populators
-
setPopulators
void setPopulators(java.util.List<Populator<ComposedTypeModel,ComponentTypeData>> populators)
Sets the populators to be used when converting the representingComposedTypeModelto aComponentTypeData.- Parameters:
populators- - the populators
-
-