@Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER}) @Constraint(checkWith=RangeCheck.class) public @interface Range
public abstract String message
public abstract double min
public abstract double max
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly