Package org.apache.bval.constraints
Annotation Type FrenchZipCode
-
@NotEmpty @NotNull @Size(min=4, max=5, message="Zipcode should be of size {value}") @Constraint(validatedBy=FrenchZipcodeValidator.class) @ReportAsSingleViolation @Documented @Target({ANNOTATION_TYPE,METHOD,FIELD}) @Retention(RUNTIME) public @interface FrenchZipCode
Description: example for composed constraint. not implemented! simple dummy implementation for tests only!
-
-
-
sizeMessage
@OverridesAttribute(constraint=jakarta.validation.constraints.Size.class, name="message") String sizeMessage
- Default:
- "{error.zipcode.size}"
-
-
-
message
String message
- Default:
- "Wrong zipcode"
-
-
-
groups
Class<?>[] groups
- Default:
- {}
-
-
-
payload
Class<? extends jakarta.validation.Payload>[] payload
- Default:
- {}
-
-