Package nl.knaw.dans.validation
Annotation Interface UniqueAttribute
@Target(FIELD)
@Retention(RUNTIME)
@Constraint(validatedBy=UniqueAttributeValidator.class)
@Repeatable(UniqueAttributes.class)
public @interface UniqueAttribute
Validates that the value of a specified attribute in a list of objects is unique.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements