Package | Description |
---|---|
org.codehaus.groovy.grails.validation |
Modifier and Type | Interface and Description |
---|---|
interface |
VetoingConstraint
Marker interface for vetoing constraint.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConstraint
Abstract class for constraints to extend.
|
class |
AbstractVetoingConstraint
TODO: write javadoc
|
class |
BlankConstraint
A Constraint that validates a string is not blank.
|
class |
CreditCardConstraint
Validates a credit card number.
|
class |
EmailConstraint
Validates an email address.
|
class |
InListConstraint
A constraint that validates the property is contained within the supplied list.
|
class |
MatchesConstraint
A constraint that validates the property against a supplied regular expression.
|
class |
MaxConstraint
Implements a maximum value constraint.
|
class |
MaxSizeConstraint
Validates maximum size of the property, for strings and arrays this is the length, collections
the size and numbers the value.
|
class |
MinConstraint
Implements a minimum value constraint.
|
class |
MinSizeConstraint
Validates minimum size or length of the property, for strings and arrays
this is the length, collections the size and numbers the value.
|
class |
NotEqualConstraint
Validates not equal to something.
|
class |
NullableConstraint
Validates not null.
|
class |
RangeConstraint
Validates a range.
|
class |
ScaleConstraint
Manages the scale for floating point numbers (i.e., the
number of digits to the right of the decimal point).
|
class |
SizeConstraint
Validates size of the property, for strings and arrays
this is the length, collections the size and numbers the value.
|
class |
UrlConstraint
Validates a url.
|
class |
ValidatorConstraint
A constraint class that validates using a user-supplied closure.
|
Modifier and Type | Method and Description |
---|---|
Constraint |
ConstrainedProperty.getAppliedConstraint(java.lang.String name)
Obtains an applied constraint by name.
|
Constraint |
ConstraintFactory.newInstance() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Constraint> |
ConstrainedProperty.getAppliedConstraints() |