org.hibernate.validator
Class AssertFalseValidator
java.lang.Object
org.hibernate.validator.AssertFalseValidator
- All Implemented Interfaces:
- Serializable, Validator<AssertFalse>
public class AssertFalseValidator
- extends Object
- implements Validator<AssertFalse>, Serializable
Check if a given object is false or not
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssertFalseValidator
public AssertFalseValidator()
isValid
public boolean isValid(Object value)
- Description copied from interface:
Validator
- does the object/element pass the constraints
- Specified by:
isValid
in interface Validator<AssertFalse>
initialize
public void initialize(AssertFalse parameters)
- Description copied from interface:
Validator
- Take the annotations values
- Specified by:
initialize
in interface Validator<AssertFalse>