Class PluginValidationRuleValidateParams
java.lang.Object
de.xima.fc.interfaces.plugin.param.validation.PluginValidationRuleValidateParams
- All Implemented Interfaces:
Serializable
Parameters for the validate method of validation rule plugins.
- Since:
- 8.5.4
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder for plugin validation rule validation parameters. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder for plugin validation rule validation parameters.Gets the default validation message, either from the validation rule or as overwritten in the form designer.item()Gets the properties of the form item being validated.locale()Gets the locale for locale-sensitive operations, e.g. the language of the form being validated.intGets the repetition index for repeated items. -1 for non-repeated items.value()Gets the value to validate.
-
Method Details
-
defaultMessage
Gets the default validation message, either from the validation rule or as overwritten in the form designer.- Returns:
- The default validation message, never null or empty.
-
item
Gets the properties of the form item being validated.- Returns:
- The properties of the form item being validated.
-
locale
Gets the locale for locale-sensitive operations, e.g. the language of the form being validated.- Returns:
- The locale for locale-sensitive operations.
-
repetitionIndex
public int repetitionIndex()Gets the repetition index for repeated items. -1 for non-repeated items.- Returns:
- The repetition index for repeated items, or -1 for non-repeated items.
-
value
-
builder
Creates a new builder for plugin validation rule validation parameters.- Returns:
- A new builder instance.
-