Annotation Interface UniqueElements
@Documented
@Constraint(validatedBy=UniqueElementsValidator.class)
@Target({FIELD,METHOD,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
public @interface UniqueElements
Constraint that validates that elements in a collection or array are unique.
-
Optional Element Summary
Optional Elements