📄 dynunion.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="set_as_default()"><!-- --></A><H3>set_as_default</H3><PRE>public boolean <B>set_as_default</B>()</PRE><DL><DD>Determines whether the discriminator associated with this union has been assigned a valid default value.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><code>true</code> if the discriminator has a default value; <code>false</code> otherwise</DL></DD></DL><HR><A NAME="set_as_default(boolean)"><!-- --></A><H3>set_as_default</H3><PRE>public void <B>set_as_default</B>(boolean arg)</PRE><DL><DD>Determines whether the discriminator associated with this union gets assigned a valid default value.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>arg</CODE> - <code>true</code> if the discriminator gets assigned a default value</DL></DD></DL><HR><A NAME="discriminator()"><!-- --></A><H3>discriminator</H3><PRE>public <A HREF="../../../org/omg/CORBA/DynAny.html">DynAny</A> <B>discriminator</B>()</PRE><DL><DD>Returns a DynAny object reference that must be narrowed to the type of the discriminator in order to insert/get the discriminator value.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>DynAny</code> object reference representing the discriminator value</DL></DD></DL><HR><A NAME="discriminator_kind()"><!-- --></A><H3>discriminator_kind</H3><PRE>public <A HREF="../../../org/omg/CORBA/TCKind.html">TCKind</A> <B>discriminator_kind</B>()</PRE><DL><DD>Returns the TCKind object associated with the discriminator of this union.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>TCKind</code> object associated with the discriminator of this union</DL></DD></DL><HR><A NAME="member()"><!-- --></A><H3>member</H3><PRE>public <A HREF="../../../org/omg/CORBA/DynAny.html">DynAny</A> <B>member</B>()</PRE><DL><DD>Returns a DynAny object reference that is used in order to insert/get a member of this union.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>DynAny</code> object representing a member of this union</DL></DD></DL><HR><A NAME="member_name()"><!-- --></A><H3>member_name</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A> <B>member_name</B>()</PRE><DL><DD>Allows for the inspection of the name of this union member without checking the value of the discriminator.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the name of this union member</DL></DD></DL><HR><A NAME="member_name(java.lang.String)"><!-- --></A><H3>member_name</H3><PRE>public void <B>member_name</B>(<A HREF="../../../java/lang/String.html">String</A> arg)</PRE><DL><DD>Allows for the assignment of the name of this union member.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>arg</CODE> - the new name of this union member</DL></DD></DL><HR><A NAME="member_kind()"><!-- --></A><H3>member_kind</H3><PRE>public <A HREF="../../../org/omg/CORBA/TCKind.html">TCKind</A> <B>member_kind</B>()</PRE><DL><DD>Returns the TCKind associated with the member of this union.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>TCKind</code> object associated with the member of this union</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DynUnion.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/omg/CORBA/DynStruct.html"><B>PREV CLASS</B></A> <A HREF="../../../org/omg/CORBA/DynValue.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="DynUnion.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -