Module java.corba
Package org.omg.CORBA

Class _IDLTypeStub

    • Constructor Detail

      • _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.
        delegate - a Delegate object
    • Method Detail

      • 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 interface IDLTypeOperations
        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 interface IRObjectOperations
        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 interface IRObjectOperations
      • _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 class ObjectImpl
        the array of all repository identifiers supported by this ObjectImpl instance