play.data.validation
注释类型 Match


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

This field must match the regexp. Message key: validation.match $1: field name $2: reference pattern


必需元素摘要
 java.lang.String value
           
 
可选元素摘要
 java.lang.String message
           
 

元素详细信息

value

public abstract java.lang.String value

message

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


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