|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constraint | |
---|---|
net.sf.oval.constraint | This package contains the standard single-value validation constraints in form of Java5 Annotations that can be tagged to class fields, constructor parameters, method parameters and getter method return values. |
Uses of Constraint in net.sf.oval.constraint |
---|
Classes in net.sf.oval.constraint with annotations of type Constraint | |
---|---|
interface |
Assert
Check if evaluating the expression in the specified expression language returns true. |
interface |
AssertConstraintSet
Check if the value satisfies the all constraints of specified constraint set. |
interface |
AssertFalse
Check if the value is false. |
interface |
AssertFieldConstraints
Check if the value satisfies the constraints defined for the specified field. |
interface |
AssertNull
Check if null. |
interface |
AssertTrue
Check if the value is true. |
interface |
AssertURL
Check if the value is a valid URL. |
interface |
AssertValid
Check if the value passes a validation by Validator.validate(). |
interface |
CheckWith
Check the value by a method of the same class that takes the value as argument and returns true if valid and false if invalid. |
interface |
DateRange
Check if the date is within the a date range. |
interface |
Digits
Check if the String representation has the given max/min number of integral and fractional digits. |
interface |
Email
Check if the value is a valid e-mail address. |
interface |
EqualToField
Check if value equals the value of the referenced field. |
interface |
Future
Check if the date is in the future. |
interface |
HasSubstring
Check if the string contains a certain substring. |
interface |
InstanceOf
Check if the value is an instance of the specified class or implements all specified interfaces. |
interface |
InstanceOfAny
Check if the value is an instance of the specified class or implements one of the specified interfaces. |
interface |
Length
Check if the string representation has certain length. |
interface |
MatchPattern
Check if the specified regular expression pattern is matched. |
interface |
Max
Check if the number is smaller than or equal to X. |
interface |
MaxLength
Check if the string representation does not exceed the given length. |
interface |
MaxSize
Check if an array or collection does not exceed the given size. |
interface |
MemberOf
Check if the string representation is contained in the given string array. |
interface |
Min
Check if the number is greater than or equal to X. |
interface |
MinLength
Check if the string representation has at least the given length. |
interface |
MinSize
Check if the array or collection has at least the given number of elements. |
interface |
NoSelfReference
Check that the value is not a reference to the validated object itself. |
interface |
NotBlank
Check if the string representation is not empty and does not only contain white spaces. |
interface |
NotEmpty
Check if the string representation is not empty (""). |
interface |
NotEqual
Check if the string representation does not equal a given string. |
interface |
NotEqualToField
Check if value does not equal the value of the referenced field. |
interface |
NotMatchPattern
Check if the specified regular expression pattern is not matched. |
interface |
NotMemberOf
Check if the string representation is not contained in the given string array. |
interface |
NotNegative
Check if the number is greater or equal zero. |
interface |
NotNull
Check if not null. |
interface |
Past
Check if the date is in the past. |
interface |
Range
Check if the number is in the given range. |
interface |
Size
Check if the array, map, or collection has the given size. |
interface |
ValidateWithMethod
Check the value by a method of the same class that takes the value as argument and returns true if valid and false if invalid. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |