-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes={java.lang.Byte.class,java.lang.Short.class,java.lang.Integer.class,java.lang.Long.class}, validatorClass={MaxByteConstraintValidator.class,MaxShortConstraintValidator.class,MaxIntConstraintValidator.class,MaxLongConstraintValidator.class}) public @interface MaxInt
The annotated element must be a byte or short or integer or long whose value must be lower or equal to the specified maximum.- Since:
- 0.1
- Author:
- nedis
- See Also:
MaxDouble,MaxNumber,MaxByteConstraintValidator,MaxShortConstraintValidator,MaxIntConstraintValidator,MaxLongConstraintValidator
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description longvalueReturns the value the element must be lower or equal to.
-