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