play.data.validation
Annotation Type MaxSize
@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER})
@Constraint(checkWith=MaxSizeCheck.class)
public @interface MaxSize
This field size must be lower than.
Message key: validation.maxSize
$1: field name
$2: reference value
Required Element Summary |
int |
value
|
Optional Element Summary |
java.lang.String |
message
|
value
public abstract int value
message
public abstract java.lang.String message
- Default:
- "validation.maxSize"
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly