play.data.validation
Annotation Type Range


@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER})
@Constraint(checkWith=RangeCheck.class)
public @interface Range

This field must be lower than and greater than. Message key: validation.range $1: field name $2: min reference value $3: max reference value


Optional Element Summary
 double max
           
 java.lang.String message
           
 double min
           
 

message

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

min

public abstract double min
Default:
4.9E-324

max

public abstract double max
Default:
1.7976931348623157E308


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