Manages the scale for floating point numbers (i.e., the number of digits to the right of the decimal point). Supports properties of the following types:
Fields inherited from class | Fields |
---|---|
class AbstractConstraint |
classShortName, constraintOwningClass, constraintParameter, constraintPropertyName, messageSource |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
getName() |
|
int |
getScale() @return the scale |
|
protected void |
processValidate(java.lang.Object target, java.lang.Object propertyValue, org.springframework.validation.Errors errors) {@inheritDoc} |
|
void |
setParameter(java.lang.Object constraintParameter) |
|
boolean |
supports(java.lang.Class type) |
Methods inherited from class | Name |
---|---|
class AbstractConstraint |
checkState, getDefaultMessage, getParameter, getPropertyName, isValid, processValidate, rejectValue, rejectValue, rejectValue, rejectValue, rejectValue, rejectValueWithDefaultMessage, setMessageSource, setOwningClass, setParameter, setPropertyName, skipBlankValues, skipNullValues, toString, validate |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
{@inheritDoc}