Package org.duracloud.common.annotation
Annotation Type 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: