Annotation Type VariableExists
@Documented @Constraint(validatedBy=VariableExistsValidator.class) @Repeatable(List.class) @Target({TYPE,TYPE_USE}) @Retention(RUNTIME) public @interface VariableExists
Checks that the referenced variable exists.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VariableExists.List
Defines severalVariableExists
annotations on the same element. -
Optional Element Summary
-
Element Details
-
message
String messageDefines the default error message.- Default:
- "related-publication-management.error.related-publication.variable-exists"
-
groups
Class<?>[] groupsThis contains groups.- Default:
- {}
-
payload
Class<? extends javax.validation.Payload>[] payloadThis method contains the payload.- Default:
- {}
-