org.glassfish.jersey.examples.flight.validation
Annotation Type ValidAircraftId
@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Constraint(validatedBy=ValidAircraftId.IntegerValidator.class)
public @interface ValidAircraftId
Check whether the validated value is a valid/existing aircraft identifier.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
message
public abstract String message
- Default:
- "{not.valid.aircraft.id}"
groups
public abstract Class<?>[] groups
- Default:
- {}
payload
public abstract Class<? extends javax.validation.Payload>[] payload
- Default:
- {}
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.