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
message
public abstract String message
- Default:
- "Name must not be a reserved word"
groups
public abstract Class<?>[] groups
- Default:
- {}
payload
public abstract Class<? extends javax.validation.Payload>[] payload
- Default:
- {}
Copyright © 2012 GlassFish Community. All Rights Reserved.