Package org.duracloud.common.annotation
Annotation Interface FieldMatch
@Target(TYPE)
@Retention(RUNTIME)
@Constraint(validatedBy=FieldMatchValidator.class)
@Documented
public @interface FieldMatch
Validation annotation to validate that 2 fields have the same value. An array
of fields and their matching confirmation fields can be supplied.
Example, compare 1 pair of fields:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefines several@FieldMatchannotations on the same element -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements