|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface OverridesAttribute
Mark an attribute as overriding the attribute of a composing constraint. Both attributes must share the same type.
Required Element Summary | |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
constraint
|
java.lang.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 java.lang.Class<? extends java.lang.annotation.Annotation> constraint
public abstract java.lang.String name
@OverridesAttribute
.
public abstract int constraintIndex
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41