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
The
INodeExecutionData published by the FC_FOR_EACH_LOOP when
iterating of items provided by a FORM_FIELD_REPETITIONS
item source.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Nested Class Summary
Nested classes/interfaces inherited from class ForEachLoopData
ForEachLoopData.Attachments, ForEachLoopData.CharacterSeparatedValues, ForEachLoopData.FieldValues, ForEachLoopData.Files, ForEachLoopData.FormElementRepetitions, ForEachLoopData.JsonValue, ForEachLoopData.RowsOfCharacterSeparatedValuesNested classes/interfaces inherited from interface IForEachLoopData
IForEachLoopData.Attachments, IForEachLoopData.CharacterSeparatedValues, IForEachLoopData.FieldValues, IForEachLoopData.Files, IForEachLoopData.FormElementRepetitions, IForEachLoopData.JsonValue, IForEachLoopData.RowsOfCharacterSeparatedValues -
Constructor Summary
ConstructorsConstructorDescriptionFormElementRepetitions(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
Methods inherited from class ForEachLoopData
getItemSource
-
Constructor Details
-
FormElementRepetitions
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 Details
-
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.
-