Package 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.

See:
          Description

Interface Summary
CheckWithCheck.SimpleCheck  
CheckWithCheck.SimpleCheckWithMessageVariables  
 

Class Summary
AssertCheck  
AssertConstraintSetCheck  
AssertFalseCheck  
AssertFieldConstraintsCheck  
AssertNullCheck  
AssertTrueCheck  
AssertURLCheck  
AssertValidCheck  
CheckWithCheck  
ConstraintsCheck Internal check holding multiple check instances of the same type, e.g. used for @Assert.List(...)
DateRangeCheck  
DigitsCheck  
EmailCheck  
EqualToFieldCheck  
FutureCheck  
HasSubstringCheck  
InstanceOfAnyCheck  
InstanceOfCheck  
LengthCheck  
MatchPatternCheck  
MaxCheck  
MaxLengthCheck  
MaxSizeCheck  
MemberOfCheck  
MinCheck  
MinLengthCheck  
MinSizeCheck  
NoSelfReferenceCheck  
NotBlankCheck  
NotEmptyCheck  
NotEqualCheck  
NotEqualToFieldCheck  
NotMatchPatternCheck  
NotMemberOfCheck  
NotNegativeCheck  
NotNullCheck  
PastCheck  
RangeCheck  
SizeCheck  
ValidateWithMethodCheck  
 

Enum Summary
AssertURLCheck.URIScheme http://en.wikipedia.org/wiki/URI_scheme
 

Annotation Types Summary
Assert Check if evaluating the expression in the specified expression language returns true.
Assert.List  
AssertConstraintSet Check if the value satisfies the all constraints of specified constraint set.
AssertConstraintSet.List  
AssertFalse Check if the value is false.
AssertFalse.List  
AssertFieldConstraints Check if the value satisfies the constraints defined for the specified field.
AssertFieldConstraints.List  
AssertNull Check if null.
AssertNull.List  
AssertTrue Check if the value is true.
AssertTrue.List  
AssertURL Check if the value is a valid URL.
AssertURL.List  
AssertValid Check if the value passes a validation by Validator.validate().
AssertValid.List  
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.
CheckWith.List  
DateRange Check if the date is within the a date range.
DateRange.List  
Digits Check if the String representation has the given max/min number of integral and fractional digits.
Digits.List  
Email Check if the value is a valid e-mail address.
Email.List  
EqualToField Check if value equals the value of the referenced field.
EqualToField.List  
Future Check if the date is in the future.
Future.List  
HasSubstring Check if the string contains a certain substring.
HasSubstring.List  
InstanceOf Check if the value is an instance of the specified class or implements all specified interfaces.
InstanceOf.List  
InstanceOfAny Check if the value is an instance of the specified class or implements one of the specified interfaces.
InstanceOfAny.List  
Length Check if the string representation has certain length.
Length.List  
MatchPattern Check if the specified regular expression pattern is matched.
MatchPattern.List  
Max Check if the number is smaller than or equal to X.
Max.List  
MaxLength Check if the string representation does not exceed the given length.
MaxLength.List  
MaxSize Check if an array or collection does not exceed the given size.
MaxSize.List  
MemberOf Check if the string representation is contained in the given string array.
MemberOf.List  
Min Check if the number is greater than or equal to X.
Min.List  
MinLength Check if the string representation has at least the given length.
MinLength.List  
MinSize Check if the array or collection has at least the given number of elements.
MinSize.List  
NoSelfReference Check that the value is not a reference to the validated object itself.
NoSelfReference.List  
NotBlank Check if the string representation is not empty and does not only contain white spaces.
NotBlank.List  
NotEmpty Check if the string representation is not empty ("").
NotEmpty.List  
NotEqual Check if the string representation does not equal a given string.
NotEqual.List  
NotEqualToField Check if value does not equal the value of the referenced field.
NotEqualToField.List  
NotMatchPattern Check if the specified regular expression pattern is not matched.
NotMatchPattern.List  
NotMemberOf Check if the string representation is not contained in the given string array.
NotMemberOf.List  
NotNegative Check if the number is greater or equal zero.
NotNegative.List  
NotNull Check if not null.
NotNull.List  
Past Check if the date is in the past.
Past.List  
Range Check if the number is in the given range.
Range.List  
Size Check if the array, map, or collection has the given size.
Size.List  
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.
ValidateWithMethod.List  
 

Package net.sf.oval.constraint Description

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. the package also contains the corresponding check classes for the constraints.



Copyright © 2005–2015 The OVal Development Team. All rights reserved.