|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public static @interface AnnotationConstraints.MembershipRule
Provides a mechanism for enforcing constraints between members of an annotation (such a mechanism is absent from J2SE 5.0; for example, given an annotation with members 'a' and 'b' there is no way to say that they are mutually exclusive).
AnnotationConstraints.MembershipRuleValues
Required Element Summary | |
---|---|
AnnotationConstraints.MembershipRuleValues |
value
Required, the membership rule. |
Optional Element Summary | |
---|---|
String[] |
memberNames
Optional list of member names to apply rule against. |
Element Detail |
---|
public abstract AnnotationConstraints.MembershipRuleValues value
public abstract String[] memberNames
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |