public class SValidatorMaxLength extends SValidatorI
Constructor and Description |
---|
SValidatorMaxLength() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxLength() |
void |
onValidate(SFieldMeta field,
SRecordInstance instance)
Called when individual field changed, or when record updated.
|
void |
setMaxLength(int maxLength) |
public int getMaxLength()
public void setMaxLength(int maxLength)
public void onValidate(SFieldMeta field, SRecordInstance instance)
SValidatorI
onValidate
in class SValidatorI
SRecordInstance.onValidateField(simpleorm.dataset.SFieldMeta, java.lang.Object)