Class ForEachLoopData.FormElementRepetitions
- java.lang.Object
-
- de.xima.fc.workflow.model.loop_data.ForEachLoopData
-
- de.xima.fc.workflow.model.loop_data.ForEachLoopData.FormElementRepetitions
-
- All Implemented Interfaces:
IForEachLoopData,IForEachLoopData.FormElementRepetitions,IFormElementRepetitionContextData,ILoopNodeData,INodeExecutionData
- Enclosing class:
- ForEachLoopData
public static final class ForEachLoopData.FormElementRepetitions extends ForEachLoopData implements IForEachLoopData.FormElementRepetitions
TheINodeExecutionDatapublished by theFC_FOR_EACH_LOOPwhen iterating of items provided by aFORM_FIELD_REPETITIONSitem source.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.workflow.model.loop_data.ForEachLoopData
ForEachLoopData.Attachments, ForEachLoopData.CharacterSeparatedValues, ForEachLoopData.FieldValues, ForEachLoopData.Files, ForEachLoopData.FormElementRepetitions, ForEachLoopData.JsonValue, ForEachLoopData.RowsOfCharacterSeparatedValues
-
Nested classes/interfaces inherited from interface de.xima.fc.interfaces.workflow.execution.IForEachLoopData
IForEachLoopData.Attachments, IForEachLoopData.CharacterSeparatedValues, IForEachLoopData.FieldValues, IForEachLoopData.Files, IForEachLoopData.FormElementRepetitions, IForEachLoopData.JsonValue, IForEachLoopData.RowsOfCharacterSeparatedValues
-
-
Constructor Summary
Constructors Constructor Description FormElementRepetitions(int repetitionIndex, Set<String> fieldNames)Creates a new loop data instance for theINodeExecutionDatapublished by theFC_FOR_EACH_LOOPwhen iterating of items provided by aFORM_FIELD_REPETITIONSitem source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getFieldNames()intgetRepetitionIndex()-
Methods inherited from class de.xima.fc.workflow.model.loop_data.ForEachLoopData
getItemSource
-
-
-
-
Constructor Detail
-
FormElementRepetitions
public FormElementRepetitions(int repetitionIndex, Set<String> fieldNames)Creates a new loop data instance for theINodeExecutionDatapublished by theFC_FOR_EACH_LOOPwhen iterating of items provided by aFORM_FIELD_REPETITIONSitem source.- Parameters:
repetitionIndex- Value to be returned forIForEachLoopData.FormElementRepetitions#getRepetitionIndex().fieldNames- Value to be returned forIForEachLoopData.FormElementRepetitions#getFormFieldName().
-
-
Method Detail
-
getFieldNames
public Set<String> getFieldNames()
- Specified by:
getFieldNamesin interfaceIFormElementRepetitionContextData- Returns:
- Names of all repeated form fields.
-
getRepetitionIndex
public int getRepetitionIndex()
- Specified by:
getRepetitionIndexin interfaceIFormElementRepetitionContextData- Returns:
- 0-based ordinal index of the repetition.
0is the first repetition,1is the second repetition etc.
-
-