Class _IDLTypeStub
- java.lang.Object
-
- org.omg.CORBA.portable.ObjectImpl
-
- org.omg.CORBA._IDLTypeStub
- All Implemented Interfaces:
- Serializable, IDLType, IDLTypeOperations, IRObject, IRObjectOperations, Object, IDLEntity
public class _IDLTypeStub extends ObjectImpl implements IDLType
The Stub for IDLType
. For more information on Stub files, see "Generated Files: Stubs".
org/omg/CORBA/_IDLTypeStub.java Generated by the IDL-to-Java compiler (portable), version "3.0" from ir.idl. 03 June 1999 11:33:44 o'clock GMT+00:00
Constructors
Constructor and Description |
---|
_IDLTypeStub() Constructs a default |
_IDLTypeStub(Delegate delegate) Constructs an |
Methods
Modifier and Type | Method and Description |
---|---|
String[] |
_ids() Retrieves a string array containing the repository identifiers supported by this |
DefinitionKind |
def_kind() Returns the |
void |
destroy() Destroys this object. |
TypeCode |
type() The type attribute describes the type defined by an object derived from |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
Constructors
_IDLTypeStub
public _IDLTypeStub()
Constructs a default _IDLTypeStub
object. NOTE: If the default constructor is used, the object is useless until the method _set_delegate
has been called.
_IDLTypeStub
public _IDLTypeStub(Delegate delegate)
Constructs an _IDLTypeStub
object initialized with the given Delegate
object.
- Parameters:
-
delegate
- a Delegate object
Methods
type
public TypeCode type()
Description copied from interface: IDLTypeOperations
The type attribute describes the type defined by an object derived from IDLType
.
- Specified by:
-
type
in interfaceIDLTypeOperations
- Returns:
- the
TypeCode
defined by this object.
def_kind
public DefinitionKind def_kind()
Description copied from interface: IRObjectOperations
Returns the DefinitionKind
corresponding to this Interface Repository object.
- Specified by:
-
def_kind
in interfaceIRObjectOperations
- Returns:
- the
DefinitionKind
corresponding to this Interface Repository object.
destroy
public void destroy()
Description copied from interface: IRObjectOperations
Destroys this object. If the object is a Container, this method is applied to all its contents. If the object contains an IDLType attribute for an anonymous type, that IDLType is destroyed. If the object is currently contained in some other object, it is removed. If the method is invoked on a Repository
or on a PrimitiveDef
then the BAD_INV_ORDER
exception is raised with minor value 2. An attempt to destroy an object that would leave the repository in an incoherent state causes BAD_INV_ORDER
exception to be raised with the minor code 1.
- Specified by:
-
destroy
in interfaceIRObjectOperations
_ids
public String[] _ids()
Description copied from class: ObjectImpl
Retrieves a string array containing the repository identifiers supported by this ObjectImpl
object. For example, for a stub, this method returns information about all the interfaces supported by the stub.
- Specified by:
-
_ids
in classObjectImpl
- Returns:
- the array of all repository identifiers supported by this
ObjectImpl
instance
© 1993, 2020, 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.
https://docs.oracle.com/javase/8/docs/api/org/omg/CORBA/_IDLTypeStub.html