Package net.sf.staccatocommons.restrictions.check

This packages contains check annotations - Restrictions, that impose simple constraints over the annotated element, like NonNull, Positive, etc.

See:
          Description

Annotation Types Summary
Between An annotation that signals that an annotated must be between a min and a max value, both inclusive.
Matches A check annotation that signals that the annotated element matches a regular expression Annotated elements should be of type String
MaxSize A check annotation that signals the annotated element's size must be less than or equal to the given value.
MinSize A check annotation that signals the annotated element's size must be, at minimum, the given value.
NonNull A check annotation that signals that the annotated element is non nullable.
NotEmpty A check annotation that signals that the annotated element can not be empty.
NotNegative A check annotation that signals that the annotated element must not be negative, that is, they must greater than or equal to zero.
NotZero A check annotation that signals that the annotated element must not be zero This annotation should only be applied to Numbers and primitive numeric types.
Positive A check annotation that signals that the annotated element must be positive, that is, greater than 0.
Size A check annotation that signals that the annotated element must have an given size or length.
 

Package net.sf.staccatocommons.restrictions.check Description

This packages contains check annotations - Restrictions, that impose simple constraints over the annotated element, like NonNull, Positive, etc.



Copyright © 2010-2012 StaccatoCommons. All Rights Reserved.