play.data.validation
Annotation Type Max


@Retention(value=RUNTIME)
@Target(value={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
 double value
           
 
Optional Element Summary
 java.lang.String message
           
 

Element Detail

value

public abstract double value

message

public abstract java.lang.String message
Default:
"validation.max"


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly