Annotation Type ValidFormat
@Documented @Constraint(validatedBy=ValidFormatValidator.class) @Target(FIELD) @Retention(RUNTIME) public @interface ValidFormat
Annotation for the validator of the format of the data sets. Only values from the class
Format
are allowed.- Author:
- Daniel Katzberg
-
Optional Element Summary
-
Element Details
-
message
String messageDefines the default error message.- Default:
- "{eu.dzhw.fdz.metadatamanagement.domain.validation.validformat.message}"
-
groups
Class<?>[] groupsThis contains groups.- Default:
- {}
-
payload
Class<? extends javax.validation.Payload>[] payloadThis method contains the payload.- Default:
- {}
-