play.data.validation
Annotation Type Constraints.Min


@Target(value=FIELD)
@Retention(value=RUNTIME)
@Constraint(validatedBy=Constraints.MinValidator.class)
public static @interface Constraints.Min

Defines a minumum value for a numeric field.


Required Element Summary
 long value
           
 
Optional Element Summary
 java.lang.Class<?>[] groups
           
 java.lang.String message
           
 java.lang.Class<? extends javax.validation.Payload>[] payload
           
 

Element Detail

value

public abstract long value

message

public abstract java.lang.String message
Default:
"error.min"

groups

public abstract java.lang.Class<?>[] groups
Default:
{}

payload

public abstract java.lang.Class<? extends javax.validation.Payload>[] payload
Default:
{}