@groovy.transform.CompileStatic @groovy.util.logging.Slf4j class ConstrainedDelegate extends java.lang.Object implements Constrained, grails.gorm.validation.ConstrainedProperty
Bridge from the old API to the new
Type | Name and description |
---|---|
grails.gorm.validation.ConstrainedProperty |
property |
Constructor and description |
---|
ConstrainedDelegate
(grails.gorm.validation.ConstrainedProperty property) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
applyConstraint(java.lang.String constraintName, java.lang.Object constrainingValue) |
|
grails.gorm.validation.Constraint |
getAppliedConstraint(java.lang.String name) |
|
java.util.Collection<Constraint> |
getAppliedConstraints()
|
|
java.lang.String |
getFormat() |
|
java.util.List |
getInList() |
|
java.lang.String |
getMatches() |
|
java.lang.Comparable |
getMax() |
|
java.lang.Integer |
getMaxSize() |
|
java.lang.Comparable |
getMin() |
|
java.lang.Integer |
getMinSize() |
|
java.lang.Object |
getNotEqual() |
|
int |
getOrder() |
|
java.lang.Class |
getOwner() |
|
java.lang.String |
getPropertyName() |
|
java.lang.Class<?> |
getPropertyType() |
|
groovy.lang.Range |
getRange() |
|
java.lang.Integer |
getScale() |
|
groovy.lang.Range |
getSize() |
|
java.lang.String |
getWidget() |
|
boolean |
hasAppliedConstraint(java.lang.String constraintName) |
|
boolean |
isBlank() |
|
boolean |
isCreditCard() |
|
boolean |
isDisplay() |
|
boolean |
isEditable() |
|
boolean |
isEmail() |
|
boolean |
isNullable() |
|
boolean |
isPassword() |
|
boolean |
isUrl() |
|
boolean |
supportsContraint(java.lang.String constraintName) |
|
void |
validate(java.lang.Object target, java.lang.Object propertyValue, org.springframework.validation.Errors errors) |
Methods inherited from class | Name |
---|---|
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() |
Groovy Documentation