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
TheINodeExecutionData
published by theFC_FOR_EACH_LOOP
when iterating of items provided by aFORM_FIELD_REPETITIONS
item 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 theINodeExecutionData
published by theFC_FOR_EACH_LOOP
when iterating of items provided by aFORM_FIELD_REPETITIONS
item source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getFieldNames()
int
getRepetitionIndex()
-
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 theINodeExecutionData
published by theFC_FOR_EACH_LOOP
when iterating of items provided by aFORM_FIELD_REPETITIONS
item 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:
getFieldNames
in interfaceIFormElementRepetitionContextData
- Returns:
- Names of all repeated form fields.
-
getRepetitionIndex
public int getRepetitionIndex()
- Specified by:
getRepetitionIndex
in interfaceIFormElementRepetitionContextData
- Returns:
- 0-based ordinal index of the repetition.
0
is the first repetition,1
is the second repetition etc.
-
-