1 package org.xmlfield.validation.annotations; 2 3 import java.lang.annotation.ElementType; 4 import java.lang.annotation.Retention; 5 import java.lang.annotation.RetentionPolicy; 6 import java.lang.annotation.Target; 7 8 @Retention(RetentionPolicy.RUNTIME) 9 @Target({ ElementType.METHOD }) 10 public @interface Range { 11 12 double min() default 0; 13 14 double max() default Double.MAX_VALUE; 15 16 Class<?>[] groups() default {}; 17 }