Annotation Type ValidInstrumentAttachmentType
@Documented @Constraint(validatedBy=ValidInstrumentAttachmentTypeValidator.class) @Target(FIELD) @Retention(RUNTIME) public @interface ValidInstrumentAttachmentType
Annotation for the validation of the type of an instrument attachment.
-
Optional Element Summary
-
Element Details
-
message
String messageDefines the default error message.- Default:
- "{eu.dzhw.fdz.metadatamanagement.domain.validationinstrument-management.error.instrument.valid-instrument-attachment-type}"
-
groups
Class<?>[] groupsThis contains groups.- Default:
- {}
-
payload
Class<? extends javax.validation.Payload>[] payloadThis method contains the payload.- Default:
- {}
-