Interface IXValidationParams

All Superinterfaces:
IXBaseValidationParams, Serializable
All Known Implementing Classes:
XValidationParams

public interface IXValidationParams extends IXBaseValidationParams
Interface for the parameters passed to the IXItemBasic.validate(IXValidationParams) method.
Author:
XIMA MEDIA GmbH
  • Method Details

    • getValues

      @Deprecated List<String[]> getValues()
      Deprecated.
      You should only validate the current element repetition, use getElementValues().
      Returns:
      The values that were submitted for this form item.
    • getElementValues

      String[] getElementValues()
      Returns:
      The values that were submitted for this form item, for the current getRepetitionIndex(). When not a repeated element, this returns the values for the element.
    • getRepetitionIndex

      int getRepetitionIndex()
      Returns:
      When the form field is a repeated element: the repetition index (which may neither start at 0 nor is it necessarily continuous) of the current repetition. When not a repeated element, this returns -1.
    • getOrdinalIndex

      int getOrdinalIndex()
      Returns:
      When the form field is a repeated element: the 0-based oridnal index of the current repetition. When not a repeated element, this returns -1.
    • getXItemPropertiesData

      IXItemPropertiesData getXItemPropertiesData()
      Returns:
      A wrapper object for accessing the properties (XPropertyEnum) of the form item to validate.