Class SimpleStructureDefinition
java.lang.Object
org.flowable.engine.impl.bpmn.data.SimpleStructureDefinition
- All Implemented Interfaces:
FieldBaseStructureDefinition,StructureDefinition
Represents a simple in memory structure
- Author:
- Esteban Robles Luna
-
Field Summary
Fields -
Constructor Summary
Constructors -
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 structurevoidsetFieldName(int index, String fieldName, Class<?> type, Class<?> parameterType)
-
Field Details
-
id
-
fieldNames
-
fieldTypes
-
fieldParameterTypes
-
-
Constructor Details
-
SimpleStructureDefinition
-
-
Method Details
-
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
-
getId
Description copied from interface:StructureDefinitionObtains the id of this structure- Specified by:
getIdin interfaceStructureDefinition- Returns:
- the id of this structure
-
setFieldName
-
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
-