Package javax.validation.constraints
Annotation Interface Min
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(RUNTIME)
@Documented
@Constraint(validatedBy={})
public @interface Min
Verify that the annotated element has a number which is
higher or equal than the given value or is
null
.
Note that float and double are not portably supported due to
possible rounding error problems.
DecimalMax
accepts a String whereas accepts a long.- Version:
- $Rev$ $Date$
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements