Package | Description |
---|---|
griffon.plugins.validation.constraints | |
org.codehaus.griffon.runtime.validation.constraints |
Modifier and Type | Interface and Description |
---|---|
interface |
VetoingConstraint
Marker interface for vetoing constraint.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Constraint> |
ConstrainedProperty.appliedConstraints |
Modifier and Type | Method and Description |
---|---|
Constraint |
ConstrainedProperty.getAppliedConstraint(String name)
Obtains an applied constraint by name.
|
Constraint |
ConstraintFactory.newInstance() |
Modifier and Type | Method and Description |
---|---|
Collection<Constraint> |
ConstrainedProperty.getAppliedConstraints() |
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 |
DateConstraint
Validates a Date based on a format.
|
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 or length of the property, for strings and arrays
this is the length and collections the size.
|
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 and collections the size.
|
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
Implements a validator value constraint.
|