play.data.validation
Annotation Type Equals


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

This field must be equals to another field. Message key: validation.equals $1: field name $2: other field name


Required Element Summary
 String value
          The other field name
 
Optional Element Summary
 String message
           
 

Element Detail

value

public abstract String value
The other field name

message

public abstract String message
Default:
"validation.equals"


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