Annotation Interface HybrisDecimalMin
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(RUNTIME)
@Documented
@Constraint(validatedBy=HybrisDecimalMinValidator.class)
public @interface HybrisDecimalMin
The annotated element must be a number whose value must be greater or equal to the specified minimum.
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@HybrisDecimalMinannotations on the same element -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueTheStringrepresentation of the min value according to theBigDecimalstring representation- Returns:
- value the element must be lower or equal to
-
-