@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Repeatable(value=OverridesAttribute.List.class) public @interface OverridesAttribute
修飾子とタイプ | 必須要素と説明 |
---|---|
Class<? extends Annotation> |
constraint |
修飾子とタイプ | 任意要素と説明 |
---|---|
int |
constraintIndex
The index of the targeted constraint declaration when using
multiple constraints of the same type.
|
String |
name
Name of the Constraint attribute overridden.
|
public abstract Class<? extends Annotation> constraint
public abstract String name
@OverridesAttribute
.public abstract int constraintIndex
The index represents the index of the constraint in the
value()
array.
By default, no index is defined and the single constraint declaration is targeted.
Copyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.