Annotation Interface Min
The annotated element must be a number whose value must be greater or equal to the specified minimum.
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionlong
Returns the value the element must be greater or equal to. -
Optional Element Summary
-
Element Details
-
value
long valueReturns the value the element must be greater or equal to.- Returns:
- Returns the value the element must be greater or equal to
-
message
String messageReturns the error message that will be displayed if the constraint fails.- Returns:
- the error message
- Default:
"Parameter falls below minimum value"
-