Interface FieldBaseStructureDefinition
-
- All Superinterfaces:
StructureDefinition
- All Known Implementing Classes:
ClassStructureDefinition,SimpleStructureDefinition
public interface FieldBaseStructureDefinition extends StructureDefinition
Represents a structure definition based on fields- Author:
- Esteban Robles Luna
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFieldNameAt(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 positionintgetFieldSize()Obtains the number of fields that this structure hasClass<?>getFieldTypeAt(int index)Obtains the type of the field in the index position-
Methods inherited from interface org.flowable.engine.impl.bpmn.data.StructureDefinition
createInstance, getId
-
-
-
-
Method Detail
-
getFieldSize
int getFieldSize()
Obtains the number of fields that this structure has- Returns:
- the number of fields that this structure has
-
getFieldNameAt
String getFieldNameAt(int index)
Obtains the name of the field in the index position- Parameters:
index- the position of the field- Returns:
- the name of the field
-
getFieldTypeAt
Class<?> getFieldTypeAt(int index)
Obtains the type of the field in the index position- Parameters:
index- the position of the field- Returns:
- the type of the field
-
getFieldParameterTypeAt
Class<?> getFieldParameterTypeAt(int index)
Obtains the parameter type of the field in the index position- Parameters:
index- the position of the field- Returns:
- the parameter type of the field, or
nullif the type is not a parameterized type
-
-