play.data.validation
Annotation Type MinSize


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

This field size must be lower than. Message key: validation.minSize $1: field name $2: reference value


Required Element Summary
 int value
           
 
Optional Element Summary
 java.lang.String message
           
 

Element Detail

value

public abstract int value

message

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


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