|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface OverridesAttribute
Marks an attribute as overriding the attribute of a composing constraint. Both attributes must share the same type.
| Required Element Summary | |
|---|---|
Class<? extends Annotation> |
constraint
|
String |
name
Name of the Constraint attribute overridden. |
| Optional Element Summary | |
|---|---|
int |
constraintIndex
The index of the targeted constraint declaration when using multiple constraints of the same type. |
| Element Detail |
|---|
public abstract Class<? extends Annotation> constraint
public abstract String name
@OverridesAttribute.
public abstract int constraintIndex
value() array.
By default, no index is defined and the single constraint declaration
is targeted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||