Deprecated.
Use the new DynUnion instead
@Deprecated public interface DynUnion extends Object, DynAny
The DynUnion
interface represents a DynAny
object that is associated with an IDL union. Union values can be traversed using the operations defined in DynAny
. The first component in the union corresponds to the discriminator; the second corresponds to the actual value of the union. Calling the method next()
twice allows you to access both components.
boolean set_as_default()
Deprecated.
Determines whether the discriminator associated with this union has been assigned a valid default value.
true
if the discriminator has a default value; false
otherwisevoid set_as_default(boolean arg)
Deprecated.
Determines whether the discriminator associated with this union gets assigned a valid default value.
arg
- true
if the discriminator gets assigned a default valueDynAny discriminator()
Deprecated.
Returns a DynAny object reference that must be narrowed to the type of the discriminator in order to insert/get the discriminator value.
DynAny
object reference representing the discriminator valueTCKind discriminator_kind()
Deprecated.
Returns the TCKind object associated with the discriminator of this union.
TCKind
object associated with the discriminator of this unionDynAny member()
Deprecated.
Returns a DynAny object reference that is used in order to insert/get a member of this union.
DynAny
object representing a member of this unionString member_name()
Deprecated.
Allows for the inspection of the name of this union member without checking the value of the discriminator.
void member_name(String arg)
Deprecated.
Allows for the assignment of the name of this union member.
arg
- the new name of this union memberTCKind member_kind()
Deprecated.
Returns the TCKind associated with the member of this union.
TCKind
object associated with the member of this union
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.