public class ValidBooleanValidator extends Object implements FieldAction
| Constructor and Description |
|---|
ValidBooleanValidator() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
validate(String key,
Serializable value,
Record record)
Validate (and eventually convert) the value of the property identified by
the key.
|
public Serializable validate(String key, Serializable value, Record record) throws InvalidValueException
validate in interface FieldActionkey - The key of the propertyvalue - The value to be validated (and eventually converted) of the
propertyrecord - the record the property is attachedInvalidValueException - if the validation or the eventual
conversion failsCopyright © 2018. All Rights Reserved.