Interface IFormElementRepetitionContextData

All Superinterfaces:
INodeExecutionData
All Known Subinterfaces:
IForEachLoopData.FormElementRepetitions
All Known Implementing Classes:
ForEachLoopData.FormElementRepetitions

public interface IFormElementRepetitionContextData extends INodeExecutionData
INodeExecutionData for nodes that wish to enter a form element repetition context during their execution. Each form field may be repeated and may have multiple sets of values for each repetition, see e.g. IFormDataAdapter.getIDynContainerMap() and IFormContainerMetaData.getIdList(). Within such a context, references to repeated form fields do not resolve to all values of the form field, but only to the values at the indicated repetition index. Useful e.g. for loops that iterate over the repetition of a form element.
Since:
8.2.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • getFieldNames

      Set<String> getFieldNames()
      Returns:
      Names of all repeated form fields.
    • getRepetitionIndex

      int getRepetitionIndex()
      Returns:
      0-based ordinal index of the repetition. 0 is the first repetition, 1 is the second repetition etc.