Package play.data.validation
Annotation Interface Max
@Retention(RUNTIME)
@Target({FIELD,PARAMETER})
@Constraint(checkWith=MaxCheck.class)
public @interface Max
This field must be lower than. Message key: validation.max $1: field name $2: reference value
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
double value
-
-
-
message
String message- Default:
- "validation.max"
-