org.omg.CORBA
Interface IRObject

All Known Subinterfaces:
IDLType

public abstract interface IRObject
extends org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity

An IRObject IDL interface represents the most generic interface from which all other Interface Repository interfaces are derived, even the Repository itself.


Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 DefinitionKind def_kind()
          Returns the DefinitionKind corresponding to this Interface Repository object.
 void destroy()
          Destroys this object.
 
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
 

Method Detail

def_kind

public DefinitionKind def_kind()
Returns the DefinitionKind corresponding to this Interface Repository object.
Returns:
the DefinitionKind corresponding to this Interface Repository object.

destroy

public void destroy()
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.
Throws:
BAD_INV_ORDER -