public class NotEqualConstraint extends AbstractConstraint
Validates not equal to something.
| Fields inherited from class | Fields |
|---|---|
class AbstractConstraint |
classShortName, constraintOwningClass, constraintParameter, constraintPropertyName, messageSource |
| Constructor and description |
|---|
NotEqualConstraint(Class<?> constraintOwningClass, String constraintPropertyName, Object constraintParameter, MessageSource messageSource) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public String |
getName() |
|
public Object |
getNotEqualTo()
|
|
protected void |
processValidate(Object target, Object propertyValue, Errors errors) |
|
public boolean |
supports(Class type) |
|
protected Object |
validateParameter(Object constraintParameter) |
| Methods inherited from class | Name |
|---|---|
class AbstractConstraint |
checkState, getDefaultMessage, getParameter, getPropertyName, isValid, processValidate, rejectValue, rejectValue, rejectValue, rejectValue, rejectValue, rejectValueWithDefaultMessage, skipBlankValues, skipNullValues, toString, validate, validateParameter |