-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes={java.lang.Float.class,java.lang.Double.class}, validatorClass={MaxFloatConstraintValidator.class,MaxDoubleConstraintValidator.class}) public @interface MaxDouble
The annotated element must be a double whose value must be lower to the specified maximum.- Since:
- 0.1
- Author:
- nedis
- See Also:
MaxInt,MaxNumber,MaxFloatConstraintValidator,MaxDoubleConstraintValidator
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description doublevalueReturns the value the element must be lower or equal to.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanoffAllows disabling the validation rule if this rule is inherited from super class.
-