org.glassfish.jersey.examples.beanvalidation.webapp.constraint
Annotation Type SearchType
@Retention(value=RUNTIME)
@NotNull
@Pattern(regexp="(name|email|phone)")
@Constraint(validatedBy={})
public @interface SearchType
Checks whether the requested search type is allowed.
- Author:
- Michal Gajdos (michal.gajdos at oracle.com)
message
public abstract String message
- Default:
- "{org.glassfish.jersey.examples.beanvalidation.webapp.constraint.SearchType.message}"
groups
public abstract Class<?>[] groups
- Default:
- {}
payload
public abstract Class<? extends javax.validation.Payload>[] payload
- Default:
- {}
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.