com.sun.enterprise.config.serverbeans.customvalidators
Annotation Type NotTargetKeyword


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
@Constraint(validatedBy=NotTargetKeywordValidator.class)
public @interface NotTargetKeyword

NotTargetKeyword constraint to verify a name attribute is not a reserved word like 'domain'.

Author:
Joe Di Pol

Optional Element Summary
 java.lang.Class<?>[] groups
           
 java.lang.String message
           
 java.lang.Class<? extends javax.validation.Payload>[] payload
           
 

message

public abstract java.lang.String message
Default:
"Name must not be a reserved word"

groups

public abstract java.lang.Class<?>[] groups
Default:
{}

payload

public abstract java.lang.Class<? extends javax.validation.Payload>[] payload
Default:
{}


Copyright © 2012 GlassFish Community. All Rights Reserved.