-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes={java.math.BigDecimal.class,java.math.BigInteger.class,java.lang.Byte.class,java.lang.Short.class,java.lang.Integer.class,java.lang.Long.class,java.lang.Float.class,java.lang.Double.class}, validatorClass={MinBigDecimalNumberConstraintValidator.class,MinBigIntegerNumberConstraintValidator.class,MinByteConstraintValidator.class,MinShortConstraintValidator.class,MinIntConstraintValidator.class,MinLongConstraintValidator.class,MinFloatConstraintValidator.class,MinDoubleConstraintValidator.class}) public @interface MinNumber
The annotated element must be a number whose value must be higher or equal to the specified minimum.- Author:
- nedis
-
-
Element Detail
-
value
String value
TheStringrepresentation of the min value.- Returns:
- value the element must be higher or equal to
-
-