Package ejava.jpa.example.validation
Annotation Type CityStateOrZip
-
@Documented @Constraint(validatedBy=CityStateOrZipValidator.class) @Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) public @interface CityStateOrZip
Defines a type constraint annotation for expressing an address must have either city&state or zip code expressed.