Package simpleorm.dataset.validation
Class SValidatorMaxLength
java.lang.Object
simpleorm.dataset.validation.SValidatorI
simpleorm.dataset.validation.SValidatorMaxLength
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintvoidonValidate(SFieldMeta field, SRecordInstance instance) Called when individual field changed, or when record updated.voidsetMaxLength(int maxLength) 
- 
Constructor Details- 
SValidatorMaxLengthpublic SValidatorMaxLength()
 
- 
- 
Method Details- 
getMaxLengthpublic int getMaxLength()
- 
setMaxLengthpublic void setMaxLength(int maxLength) 
- 
onValidateDescription copied from class:SValidatorICalled when individual field changed, or when record updated. (Default behaviour is to call all registered validators.)- Specified by:
- onValidatein class- SValidatorI
- See Also:
 
 
-