net.sf.staccatocommons.restrictions.check
Annotation Type Positive


@Restriction
@Documented
@Retention(value=CLASS)
@Target(value={PARAMETER,FIELD,METHOD})
public @interface Positive

A check annotation that signals that the annotated element must be positive, that is, greater than 0. This annotation should only be applied to Numbers and primitive numeric types.

Author:
flbulgarelli
See Also:
Restriction

Optional Element Summary
 String value
           
 

value

public abstract String value
Returns:
The variable name of the constrained element, or the empty string if unspecified. This value may help tools that analyze this annotation without access to source code.
Default:
""


Copyright © 2010-2012 StaccatoCommons. All Rights Reserved.