public class BlankConstraint extends AbstractVetoingConstraint
Constructor and Description |
---|
BlankConstraint() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.Object |
getParameter() |
boolean |
isBlank() |
void |
setParameter(java.lang.Object constraintParameter)
The parameter which the constraint is validated against.
|
boolean |
supports(java.lang.Class type)
Returns whether the constraint supports being applied against the specified type;
|
validateWithVetoing
getPropertyName, isValid, rejectValue, rejectValue, rejectValue, rejectValue, rejectValue, rejectValueWithDefaultMessage, setMessageSource, setOwningClass, setPropertyName, toString, validate
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPropertyName, isValid, setMessageSource, setOwningClass, setPropertyName, validate
public boolean supports(java.lang.Class type)
Constraint
type
- The type to supportpublic java.lang.Object getParameter()
getParameter
in interface Constraint
getParameter
in class AbstractConstraint
public boolean isBlank()
public void setParameter(java.lang.Object constraintParameter)
Constraint
setParameter
in interface Constraint
setParameter
in class AbstractConstraint
constraintParameter
- The constraintParameter to set.public java.lang.String getName()