interface Constrained
Represents a constrained object
Type Params | Return Type | Name and description |
---|---|---|
|
abstract void |
applyConstraint(java.lang.String constraintName, java.lang.Object constrainingValue) Applies the given constraint |
|
abstract java.lang.String |
getFormat()
|
|
abstract java.util.List |
getInList()
|
|
abstract java.lang.String |
getMatches()
|
|
abstract java.lang.Comparable |
getMax()
|
|
abstract java.lang.Integer |
getMaxSize()
|
|
abstract java.lang.Comparable |
getMin()
|
|
abstract java.lang.Integer |
getMinSize()
|
|
abstract java.lang.Object |
getNotEqual()
|
|
abstract int |
getOrder()
|
|
abstract java.lang.Class |
getOwner()
|
|
abstract groovy.lang.Range |
getRange()
|
|
abstract java.lang.Integer |
getScale()
|
|
abstract groovy.lang.Range |
getSize()
|
|
abstract java.lang.String |
getWidget()
|
|
abstract boolean |
hasAppliedConstraint(java.lang.String constraint) Whether the given constraint has been applied |
|
abstract boolean |
isBlank()
|
|
abstract boolean |
isCreditCard()
|
|
abstract boolean |
isDisplay()
|
|
abstract boolean |
isEditable()
|
|
abstract boolean |
isEmail()
|
|
abstract boolean |
isNullable()
|
|
abstract boolean |
isPassword()
|
|
abstract boolean |
isUrl()
|
Applies the given constraint
constraintName
- The name of the constraintconstrainingValue
- The constraining value
Whether the given constraint has been applied
constraint
- The name of the constraint