Package de.xima.fc.form.common.models
Interface IXValidationParams
-
- All Superinterfaces:
IXBaseValidationParams
,Serializable
- All Known Implementing Classes:
XValidationParams
public interface IXValidationParams extends IXBaseValidationParams
Interface for the parameters passed to theIXItemBasic.validate(IXValidationParams)
method.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String[]
getElementValues()
int
getOrdinalIndex()
int
getRepetitionIndex()
List<String[]>
getValues()
Deprecated.You should only validate the current element repetition, usegetElementValues()
.IXItemPropertiesData
getXItemPropertiesData()
-
Methods inherited from interface de.xima.fc.form.common.models.IXBaseValidationParams
getClientId, getDynContainerMap, getFieldValuesMap, getFormRenderConfig, getFRQSessionAttributes, getI18nValue, getLocale, getValues, isShouldValidate, isValuesEmpty
-
-
-
-
Method Detail
-
getValues
@Deprecated List<String[]> 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.
-
-