1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2 <!--NewPage--> 3 <HTML> 4 <HEAD> 5 <!-- Generated by javadoc (build 1.5.0_16) on Tue Feb 03 09:28:21 PST 2009 --> 6 <TITLE> 7 Exclusive 8 </TITLE> 9 10 <META NAME="keywords" CONTENT="javax.annotation.meta.Exclusive class"> 11 12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> 13 14 <SCRIPT type="text/javascript"> 15 function windowTitle() 16 { 17 parent.document.title="Exclusive"; 18 } 19 </SCRIPT> 20 <NOSCRIPT> 21 </NOSCRIPT> 22 23 </HEAD> 24 25 <BODY BGCOLOR="white" onload="windowTitle();"> 26 27 28 <!-- ========= START OF TOP NAVBAR ======= --> 29 <A NAME="navbar_top"><!-- --></A> 30 <A HREF="#skip-navbar_top" title="Skip navigation links"></A> 31 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 32 <TR> 33 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 34 <A NAME="navbar_top_firstrow"><!-- --></A> 35 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 36 <TR ALIGN="center" VALIGN="top"> 37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 44 </TR> 45 </TABLE> 46 </TD> 47 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 48 </EM> 49 </TD> 50 </TR> 51 52 <TR> 53 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 54 PREV CLASS 55 <A HREF="../../../javax/annotation/meta/Exhaustive.html" title="annotation in javax.annotation.meta"><B>NEXT CLASS</B></A></FONT></TD> 56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 57 <A HREF="../../../index.html?javax/annotation/meta/Exclusive.html" target="_top"><B>FRAMES</B></A> 58 <A HREF="Exclusive.html" target="_top"><B>NO FRAMES</B></A> 59 <SCRIPT type="text/javascript"> 60 <!-- 61 if(window==top) { 62 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 63 } 64 //--> 65 </SCRIPT> 66 <NOSCRIPT> 67 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 68 </NOSCRIPT> 69 70 71 </FONT></TD> 72 </TR> 73 <TR> 74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 75 SUMMARY: REQUIRED | OPTIONAL</FONT></TD> 76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 77 DETAIL: ELEMENT</FONT></TD> 78 </TR> 79 </TABLE> 80 <A NAME="skip-navbar_top"></A> 81 <!-- ========= END OF TOP NAVBAR ========= --> 82 83 <HR> 84 <!-- ======== START OF CLASS DATA ======== --> 85 <H2> 86 <FONT SIZE="-1"> 87 javax.annotation.meta</FONT> 88 <BR> 89 Annotation Type Exclusive</H2> 90 <HR> 91 <DL> 92 <DT><PRE><FONT SIZE="-1">@Documented 93 @Retention(value=RUNTIME) 94 </FONT>public @interface <B>Exclusive</B></DL> 95 </PRE> 96 97 <P> 98 This annotation can be applied to the value() element of an annotation that 99 is annotated as a TypeQualifier. 100 101 For example, the following defines a type qualifier such that if you know a 102 value is @Foo(1), then the value cannot be @Foo(2) or {@Foo(3). 103 104 <<<<<<< .mine 105 For example, the following defines a type qualifier such that if you know 106 a value is &#064;Foo(1), then the value cannot be &#064;Foo(2) 107 or {&#064;Foo(3). 108 109 ======= 110 >>>>>>> .r47 111 <code> 112 @TypeQualifier @interface Foo { 113 @Exclusive int value(); 114 } 115 </code> 116 <P> 117 118 <P> 119 120 <P> 121 122 <P> 123 <!-- ========= END OF CLASS DATA ========= --> 124 <HR> 125 126 127 <!-- ======= START OF BOTTOM NAVBAR ====== --> 128 <A NAME="navbar_bottom"><!-- --></A> 129 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 130 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 131 <TR> 132 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 133 <A NAME="navbar_bottom_firstrow"><!-- --></A> 134 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 135 <TR ALIGN="center" VALIGN="top"> 136 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 137 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 138 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 139 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 140 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 141 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 142 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 143 </TR> 144 </TABLE> 145 </TD> 146 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 147 </EM> 148 </TD> 149 </TR> 150 151 <TR> 152 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 153 PREV CLASS 154 <A HREF="../../../javax/annotation/meta/Exhaustive.html" title="annotation in javax.annotation.meta"><B>NEXT CLASS</B></A></FONT></TD> 155 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 156 <A HREF="../../../index.html?javax/annotation/meta/Exclusive.html" target="_top"><B>FRAMES</B></A> 157 <A HREF="Exclusive.html" target="_top"><B>NO FRAMES</B></A> 158 <SCRIPT type="text/javascript"> 159 <!-- 160 if(window==top) { 161 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 162 } 163 //--> 164 </SCRIPT> 165 <NOSCRIPT> 166 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 167 </NOSCRIPT> 168 169 170 </FONT></TD> 171 </TR> 172 <TR> 173 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 174 SUMMARY: REQUIRED | OPTIONAL</FONT></TD> 175 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 176 DETAIL: ELEMENT</FONT></TD> 177 </TR> 178 </TABLE> 179 <A NAME="skip-navbar_bottom"></A> 180 <!-- ======== END OF BOTTOM NAVBAR ======= --> 181 182 <HR> 183 184 </BODY> 185 </HTML> 186