play.data.validation
Annotation Type Required


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

This field is required. Message key: validation.required $1: field name


Optional Element Summary
 java.lang.String message
           
 

message

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


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