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 positionint
Obtains 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:StructureDefinition
Obtains the id of this structure- Specified by:
getId
in interfaceStructureDefinition
- Returns:
- the id of this structure
-
getFieldSize
public int getFieldSize()Description copied from interface:FieldBaseStructureDefinition
Obtains the number of fields that this structure has- Specified by:
getFieldSize
in interfaceFieldBaseStructureDefinition
- Returns:
- the number of fields that this structure has
-
getFieldNameAt
Description copied from interface:FieldBaseStructureDefinition
Obtains the name of the field in the index position- Specified by:
getFieldNameAt
in interfaceFieldBaseStructureDefinition
- Parameters:
index
- the position of the field- Returns:
- the name of the field
-
getFieldTypeAt
Description copied from interface:FieldBaseStructureDefinition
Obtains the type of the field in the index position- Specified by:
getFieldTypeAt
in interfaceFieldBaseStructureDefinition
- Parameters:
index
- the position of the field- Returns:
- the type of the field
-
getFieldParameterTypeAt
Description copied from interface:FieldBaseStructureDefinition
Obtains the parameter type of the field in the index position- Specified by:
getFieldParameterTypeAt
in interfaceFieldBaseStructureDefinition
- Parameters:
index
- the position of the field- Returns:
- the parameter type of the field, or
null
if the type is not a parameterized type
-
createInstance
- Specified by:
createInstance
in interfaceStructureDefinition
- Returns:
- a new instance of this structure definition
-