Uses of Class
net.sf.staccatocommons.restrictions.Restriction

Packages that use Restriction
net.sf.staccatocommons.restrictions This package contains the source-level Restriction meta-annotation, which defines semantics and behavior of annotations that express constraints, and some concrete restriction annotations about serialization, unmodifiability, immutability and value objects. 
net.sf.staccatocommons.restrictions.check This packages contains check annotations - Restrictions, that impose simple constraints over the annotated element, like NonNull, Positive, etc. 
net.sf.staccatocommons.restrictions.effect This package contains restrictions over effects of code 
net.sf.staccatocommons.restrictions.value   
 

Uses of Restriction in net.sf.staccatocommons.restrictions
 

Classes in net.sf.staccatocommons.restrictions with annotations of type Restriction
 interface Conditionally
          Conditionally is a restriction modifier that indicates that an objects may meet set of restrictions depending on some condition.
 interface Constant
          Restriction that denotes that the return value of a method is always the same object.
 

Uses of Restriction in net.sf.staccatocommons.restrictions.check
 

Classes in net.sf.staccatocommons.restrictions.check with annotations of type Restriction
 interface Between
           An annotation that signals that an annotated must be between a min and a max value, both inclusive.
 interface Matches
          A check annotation that signals that the annotated element matches a regular expression Annotated elements should be of type String
 interface MaxSize
          A check annotation that signals the annotated element's size must be less than or equal to the given value.
 interface MinSize
          A check annotation that signals the annotated element's size must be, at minimum, the given value.
 interface NonNull
           A check annotation that signals that the annotated element is non nullable.
 interface NotEmpty
          A check annotation that signals that the annotated element can not be empty.
 interface NotNegative
          A check annotation that signals that the annotated element must not be negative, that is, they must greater than or equal to zero.
 interface 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.
 interface Positive
          A check annotation that signals that the annotated element must be positive, that is, greater than 0.
 interface Size
          A check annotation that signals that the annotated element must have an given size or length.
 

Uses of Restriction in net.sf.staccatocommons.restrictions.effect
 

Classes in net.sf.staccatocommons.restrictions.effect with annotations of type Restriction
 interface SideEffectFree
          Side effect free is a Restriction that applies to methods that have no side effects.
 interface Transparent
          Transparent is a Restriction that applies to methods that are referentially transparent - their invocations can be replaced by its return value.
 

Uses of Restriction in net.sf.staccatocommons.restrictions.value
 

Classes in net.sf.staccatocommons.restrictions.value with annotations of type Restriction
 interface Immutable
          Immutables are objects whose state, if any, can not be mutated in any way.
 interface Unmodifiable
          Unmodifiables are objects that do not expose publicly any method that may modify receiver internal state, if any.
 interface Value
          Value annotation describes objects whose identity is not important, but that are completely described by its state instead, like Strings, Numbers and Dates.
 



Copyright © 2010-2012 StaccatoCommons. All Rights Reserved.