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