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