Annotation Interface HybrisDecimalMax
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(RUNTIME)
@Documented
@Constraint(validatedBy=HybrisDecimalMaxValidator.class)
public @interface HybrisDecimalMax
The annotated element must be a number whose value must be lower or equal to the specified maximum.
Supported types are:
BigDecimalDoubleFloatBigIntegerStringbyte,short,int,long, and their respective wrappers
null elements are considered valid.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefines several@HybrisDecimalMaxannotations on the same element -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueTheStringrepresentation of the max value according to theBigDecimalstring representation- Returns:
- value the element must be lower or equal to
-
-