Class ClassStructureDefinition
java.lang.Object
org.flowable.engine.impl.bpmn.data.ClassStructureDefinition
- All Implemented Interfaces:
FieldBaseStructureDefinition,StructureDefinition
Represents a structure encapsulated in a class
- Author:
- Esteban Robles Luna
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClassStructureDefinition(Class<?> classStructure) ClassStructureDefinition(String id, Class<?> classStructure) -
Method Summary
Modifier and TypeMethodDescriptiongetFieldNameAt(int index) Obtains the name of the field in the index positionClass<?>getFieldParameterTypeAt(int index) Obtains the parameter type of the field in the index positionintObtains the number of fields that this structure hasClass<?>getFieldTypeAt(int index) Obtains the type of the field in the index positiongetId()Obtains the id of this structure
-
Field Details
-
id
-
classStructure
-
-
Constructor Details
-
ClassStructureDefinition
-
ClassStructureDefinition
-
-
Method Details
-
getId
Description copied from interface:StructureDefinitionObtains the id of this structure- Specified by:
getIdin interfaceStructureDefinition- Returns:
- the id of this structure
-
getFieldSize
public int getFieldSize()Description copied from interface:FieldBaseStructureDefinitionObtains the number of fields that this structure has- Specified by:
getFieldSizein interfaceFieldBaseStructureDefinition- Returns:
- the number of fields that this structure has
-
getFieldNameAt
Description copied from interface:FieldBaseStructureDefinitionObtains the name of the field in the index position- Specified by:
getFieldNameAtin interfaceFieldBaseStructureDefinition- Parameters:
index- the position of the field- Returns:
- the name of the field
-
getFieldTypeAt
Description copied from interface:FieldBaseStructureDefinitionObtains the type of the field in the index position- Specified by:
getFieldTypeAtin interfaceFieldBaseStructureDefinition- Parameters:
index- the position of the field- Returns:
- the type of the field
-
getFieldParameterTypeAt
Description copied from interface:FieldBaseStructureDefinitionObtains the parameter type of the field in the index position- Specified by:
getFieldParameterTypeAtin interfaceFieldBaseStructureDefinition- Parameters:
index- the position of the field- Returns:
- the parameter type of the field, or
nullif the type is not a parameterized type
-
createInstance
- Specified by:
createInstancein interfaceStructureDefinition- Returns:
- a new instance of this structure definition
-