Package simpleorm.dataset.validation
Class SValidatorEnumeratedValues
java.lang.Object
simpleorm.dataset.validation.SValidatorI
simpleorm.dataset.validation.SValidatorEnumeratedValues
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]
void
onValidate
(SFieldMeta field, SRecordInstance instance) Called when individual field changed, or when record updated.void
setValidValues
(Object... validValues)
-
Constructor Details
-
SValidatorEnumeratedValues
-
-
Method Details
-
onValidate
Description copied from class:SValidatorI
Called when individual field changed, or when record updated. (Default behaviour is to call all registered validators.)- Specified by:
onValidate
in classSValidatorI
- See Also:
-
getValidValues
-
setValidValues
-