org.omg.CORBA
Class _SequenceDefStub

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--org.omg.CORBA._SequenceDefStub
All Implemented Interfaces:
IDLEntity, IDLType, IDLTypeOperations, IRObject, IRObjectOperations, Object, SequenceDef, SequenceDefOperations, java.io.Serializable

public class _SequenceDefStub
extends ObjectImpl
implements SequenceDef

A SequenceDef represents an IDL sequence type. As sequence types are anonymous, this interface is not derived from TypedefDef or Contained.

See Also:
Serialized Form

Constructor Summary
_SequenceDefStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 int bound()
          The lengthattribute specifies the maximum number of elements in the sequence.
 void bound(int value)
          The lengthattribute specifies the maximum number of elements in the sequence.
 DefinitionKind def_kind()
          The def_kind type_name attribute identifies the type of the definition.
 void destroy()
          The destroy operation causes the object to cease to exist.
 IDLType element_type_def()
          The inherited type attribute is a tk_sequence TypeCode describing the sequence.
 void element_type_def(IDLType value)
          The inherited type attribute is a tk_sequence TypeCode describing the sequence.
 TypeCode element_type()
          The type of the elements is described by element_type and identified by element_type_def.
 TypeCode type()
          The type attribute describes the type defined by an object derived from IDLType.
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_interface, _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
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_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

_SequenceDefStub

public _SequenceDefStub()
Method Detail

_ids

public java.lang.String[] _ids()
Overrides:
_ids in class ObjectImpl

bound

public int bound()
Description copied from interface: SequenceDefOperations
The lengthattribute specifies the maximum number of elements in the sequence. A bound of zero indicates an unbounded sequence.
Specified by:
bound in interface SequenceDefOperations

bound

public void bound(int value)
Description copied from interface: SequenceDefOperations
The lengthattribute specifies the maximum number of elements in the sequence. A bound of zero indicates an unbounded sequence.
Specified by:
bound in interface SequenceDefOperations

element_type

public TypeCode element_type()
Description copied from interface: SequenceDefOperations
The type of the elements is described by element_type and identified by element_type_def.
Specified by:
element_type in interface SequenceDefOperations

element_type_def

public IDLType element_type_def()
Description copied from interface: SequenceDefOperations
The inherited type attribute is a tk_sequence TypeCode describing the sequence.
Specified by:
element_type_def in interface SequenceDefOperations

element_type_def

public void element_type_def(IDLType value)
Description copied from interface: SequenceDefOperations
The inherited type attribute is a tk_sequence TypeCode describing the sequence.
Specified by:
element_type_def in interface SequenceDefOperations

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

def_kind

public DefinitionKind def_kind()
Description copied from interface: IRObjectOperations
The def_kind type_name attribute identifies the type of the definition.
Specified by:
def_kind in interface IRObjectOperations

destroy

public void destroy()
Description copied from interface: IRObjectOperations
The destroy operation causes the object to cease to exist. If the object is a Container, destroy 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 destroy is invoked on a Repository or on a PrimitiveDef then the BAD_INV_ORDER exception is raised with minor value 2. Implementations may vary in their handling of references to an object that is being destroyed, but the Repository should not be left in an incoherent state. Attempt to destroy an object that would leave the repository in an incoherent state shall cause BAD_INV_ORDER exception to be raised with the minor code 1.
Specified by:
destroy in interface IRObjectOperations