Package nl.knaw.dans.validation
Annotation Interface MutuallyExclusive
@Target(TYPE)
@Retention(RUNTIME)
@Constraint(validatedBy=MutuallyExclusiveValidator.class)
@Documented
public @interface MutuallyExclusive
Validates that the specified fields are mutually exclusive, meaning that at most one of them can be non-null.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements