play.data.validation
注释类型 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


必需元素摘要
 java.lang.String value
          The other field name
 
可选元素摘要
 java.lang.String message
           
 

元素详细信息

value

public abstract java.lang.String value
The other field name

message

public abstract java.lang.String message
默认值:
"validation.equals"


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