-
@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.- Since:
- 0.1
- Author:
- nedis
- See Also:
MinInt,MinDouble,Numeric,MinBigDecimalNumberConstraintValidator,MinBigIntegerNumberConstraintValidator,MinByteConstraintValidator,MinShortConstraintValidator,MinIntConstraintValidator,MinLongConstraintValidator,MinFloatConstraintValidator,MinDoubleConstraintValidator
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringvalueTheStringrepresentation of the min value according to theBigDecimalstring representation.
-
-
-
Element Detail
-
value
String value
TheStringrepresentation of the min value according to theBigDecimalstring representation.- Returns:
- the value the element must be higher or equal to
-
-