Package org.javalite.validation
Class AttributePresenceValidator
- java.lang.Object
-
- org.javalite.validation.ValidatorAdapter
-
- org.javalite.validation.AttributePresenceValidator
-
- All Implemented Interfaces:
Validator
public class AttributePresenceValidator extends ValidatorAdapter
-
-
Constructor Summary
Constructors Constructor Description AttributePresenceValidator(String attribute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)inthashCode()voidvalidate(Validatable validatable)Called by framework when validation is required-
Methods inherited from class org.javalite.validation.ValidatorAdapter
formatMessage, getMessage, pinMessage, setMessage
-
-
-
-
Constructor Detail
-
AttributePresenceValidator
public AttributePresenceValidator(String attribute)
-
-
Method Detail
-
validate
public void validate(Validatable validatable)
Description copied from interface:ValidatorCalled by framework when validation is required- Parameters:
validatable- map being validated.
-
-