Method Summary |
void
|
addMetaConstraint(java.lang.String name, java.lang.Object value)
Obtains the value of the named meta constraint. |
void
|
applyConstraint(java.lang.String constraintName, java.lang.Object constrainingValue)
Applies a constraint for the specified name and consraint value. |
Constraint
|
getAppliedConstraint(java.lang.String name)
@param constraintName The name of the constraint to check |
java.util.Collection
|
getAppliedConstraints()
Obtains an applied constraint by name. |
java.util.Map
|
getAttributes()
|
java.lang.String
|
getFormat()
|
java.util.List
|
getInList()
@return Returns the inList. |
java.lang.String
|
getMatches()
@return Returns the matches. |
java.lang.Comparable
|
getMax()
|
java.lang.Integer
|
getMaxSize()
|
java.lang.Object
|
getMetaConstraintValue(java.lang.String name)
|
java.lang.Comparable
|
getMin()
@return Returns the min. |
java.lang.Integer
|
getMinSize()
@return Returns the minSize. |
java.lang.Object
|
getNotEqual()
@return Returns the notEqual. |
int
|
getOrder()
@param order The order to set. |
java.lang.String
|
getPropertyName()
@return Returns the propertyName. |
java.lang.Class
|
getPropertyType()
@return Returns the max. |
groovy.lang.Range
|
getRange()
@return Returns the range. |
java.lang.Integer
|
getScale()
@return The scale, if defined for this property; null, otherwise |
groovy.lang.Range
|
getSize()
@param size The size to set. |
java.lang.String
|
getWidget()
|
boolean
|
hasAppliedConstraint(java.lang.String constraintName)
@return Returns the propertyType. |
static boolean
|
hasRegisteredConstraint(java.lang.String constraintName)
@return Returns the appliedConstraints. |
boolean
|
isBlank()
@return the blank. |
boolean
|
isCreditCard()
|
boolean
|
isDisplay()
@return Returns the display. |
boolean
|
isEditable()
@param editable The editable to set. |
boolean
|
isEmail()
@return Returns the email. |
boolean
|
isNullable()
@return Returns the nullable. |
boolean
|
isPassword()
|
boolean
|
isUrl()
|
static void
|
registerNewConstraint(java.lang.String name, java.lang.Class constraintClass)
|
static void
|
registerNewConstraint(java.lang.String name, ConstraintFactory factory)
|
static void
|
removeConstraint(java.lang.String name, java.lang.Class constraintClass)
|
static void
|
removeConstraint(java.lang.String name)
|
void
|
setAttributes(java.util.Map attributes)
|
void
|
setBlank(boolean blank)
|
void
|
setCreditCard(boolean creditCard)
|
void
|
setDisplay(boolean display)
@return Returns the editable. |
void
|
setEditable(boolean editable)
@return Returns the order. |
void
|
setEmail(boolean email)
|
void
|
setFormat(java.lang.String format)
|
void
|
setInList(java.util.List inList)
|
void
|
setMatches(java.lang.String regex)
|
void
|
setMax(java.lang.Comparable max)
@param max The max to set. |
void
|
setMaxSize(java.lang.Integer maxSize)
@param maxSize The maxSize to set. |
void
|
setMessageSource(org.springframework.context.MessageSource source)
|
void
|
setMin(java.lang.Comparable min)
@param min The min to set. |
void
|
setMinSize(java.lang.Integer minSize)
@param minSize The minLength to set. |
void
|
setNotEqual(java.lang.Object notEqual)
@param notEqual The notEqual to set. |
void
|
setNullable(boolean nullable)
|
void
|
setOrder(int order)
|
void
|
setPassword(boolean password)
|
void
|
setPropertyName(java.lang.String propertyName)
@return Returns the url. |
void
|
setRange(groovy.lang.Range range)
|
void
|
setSize(groovy.lang.Range size)
|
void
|
setUrl(boolean url)
|
void
|
setWidget(java.lang.String widget)
|
boolean
|
supportsContraint(java.lang.String constraintName)
Checks with this ConstraintedProperty instance supports applying the specified constraint. |
java.lang.String
|
toString()
|
void
|
validate(java.lang.Object target, java.lang.Object propertyValue, org.springframework.validation.Errors errors)
|