Package de.xima.fc.form.common.models
Interface IXValidationParams
- All Superinterfaces:
IXBaseValidationParams,Serializable
- All Known Implementing Classes:
XValidationParams
Interface for the parameters passed to the
IXItemBasic.validate(IXValidationParams) method.- Author:
- XIMA MEDIA GmbH
-
Method Summary
Methods inherited from interface de.xima.fc.form.common.models.IXBaseValidationParams
getClientId, getDynContainerMap, getFieldValuesMap, getFormRenderConfig, getFRQSessionAttributes, getI18nValue, getLocale, getValues, isShouldValidate, isValuesEmpty
-
Method Details
-
getValues
Deprecated.You should only validate the current element repetition, usegetElementValues().- 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.
-
getElementValues().