org.omg.CORBA
Class _OperationDefStub

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--org.omg.CORBA._OperationDefStub
All Implemented Interfaces:
Contained, ContainedOperations, IDLEntity, IRObject, IRObjectOperations, Object, OperationDef, OperationDefOperations, java.io.Serializable

public class _OperationDefStub
extends ObjectImpl
implements OperationDef

An OperationDef represents the information needed to define an operation of an interface.

See Also:
Serialized Form

Constructor Summary
_OperationDefStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 java.lang.String absolute_name()
          The absolute_name attribute is an absolute ScopedName that identifies a Contained object uniquely within its enclosing Repository.
 Repository containing_repository()
          The containing_repository attribute identifies the Repository that is eventually reached by recursively following the object’s defined_in attribute.
 java.lang.String[] contexts()
          The contexts attribute specifies the list of context identifiers that apply to the operation.
 void contexts(java.lang.String[] value)
          The contexts attribute specifies the list of context identifiers that apply to the operation.
 DefinitionKind def_kind()
          The def_kind type_name attribute identifies the type of the definition.
 Container defined_in()
          Contained objects also have a defined_in attribute that identifies the Container within which they are defined.
 Description describe()
          The describe operation returns a structure containing information about the interface.
 void destroy()
          The destroy operation causes the object to cease to exist.
 ExceptionDef[] exceptions()
          The exceptions attribute specifies the list of exception types that can be raised by the operation.
 void exceptions(ExceptionDef[] value)
          The exceptions attribute specifies the list of exception types that can be raised by the operation.
 java.lang.String id()
          An object that is contained by another object has an id attribute that identifies it globally.
 void id(java.lang.String value)
          An object that is contained by another object has an id attribute that identifies it globally.
 OperationMode mode()
          The mode attribute of accessor operations is OP_NORMAL.
 void mode(OperationMode value)
          The mode attribute of accessor operations is OP_NORMAL.
 void move(Container new_container, java.lang.String new_name, java.lang.String new_version)
          The move operation atomically removes this object from its current Container, and adds it to the Container specified by new_container must satisfy the following conditions: It must be in the same Repository.
 java.lang.String name()
          An object that is contained by another object has a name attribute that identifies it uniquely within the enclosing Container object.
 void name(java.lang.String value)
          An object that is contained by another object has a name attribute that identifies it uniquely within the enclosing Container object.
 ParameterDescription[] params()
          The params attribute describes the parameters of the operation.
 void params(ParameterDescription[] value)
          The params attribute describes the parameters of the operation.
 IDLType result_def()
          The result_def attribute identifies the definition of the returned type.
 void result_def(IDLType value)
          The result_def attribute identifies the definition of the returned type.
 TypeCode result()
          The result attribute is a TypeCode describing the type of the value returned by the operation.
 java.lang.String version()
          An object that is contained by another object has a version attribute that distinguishes it from other versioned objects with the same name.
 void version(java.lang.String value)
          An object that is contained by another object has a version attribute that distinguishes it from other versioned objects with the same name.
 
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

_OperationDefStub

public _OperationDefStub()
Method Detail

_ids

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

result

public TypeCode result()
Description copied from interface: OperationDefOperations
The result attribute is a TypeCode describing the type of the value returned by the operation.
Specified by:
result in interface OperationDefOperations

result_def

public IDLType result_def()
Description copied from interface: OperationDefOperations
The result_def attribute identifies the definition of the returned type.
Specified by:
result_def in interface OperationDefOperations

result_def

public void result_def(IDLType value)
Description copied from interface: OperationDefOperations
The result_def attribute identifies the definition of the returned type.
Specified by:
result_def in interface OperationDefOperations

params

public ParameterDescription[] params()
Description copied from interface: OperationDefOperations
The params attribute describes the parameters of the operation. It is a sequence of ParameterDescription structures. The order of the ParameterDescriptions in the sequence is significant.
Specified by:
params in interface OperationDefOperations

params

public void params(ParameterDescription[] value)
Description copied from interface: OperationDefOperations
The params attribute describes the parameters of the operation. It is a sequence of ParameterDescription structures. The order of the ParameterDescriptions in the sequence is significant.
Specified by:
params in interface OperationDefOperations

mode

public OperationMode mode()
Description copied from interface: OperationDefOperations
The mode attribute of accessor operations is OP_NORMAL.
Specified by:
mode in interface OperationDefOperations

mode

public void mode(OperationMode value)
Description copied from interface: OperationDefOperations
The mode attribute of accessor operations is OP_NORMAL.
Specified by:
mode in interface OperationDefOperations

contexts

public java.lang.String[] contexts()
Description copied from interface: OperationDefOperations
The contexts attribute specifies the list of context identifiers that apply to the operation.
Specified by:
contexts in interface OperationDefOperations

contexts

public void contexts(java.lang.String[] value)
Description copied from interface: OperationDefOperations
The contexts attribute specifies the list of context identifiers that apply to the operation.
Specified by:
contexts in interface OperationDefOperations

exceptions

public ExceptionDef[] exceptions()
Description copied from interface: OperationDefOperations
The exceptions attribute specifies the list of exception types that can be raised by the operation.
Specified by:
exceptions in interface OperationDefOperations

exceptions

public void exceptions(ExceptionDef[] value)
Description copied from interface: OperationDefOperations
The exceptions attribute specifies the list of exception types that can be raised by the operation.
Specified by:
exceptions in interface OperationDefOperations

id

public java.lang.String id()
Description copied from interface: ContainedOperations
An object that is contained by another object has an id attribute that identifies it globally.
Specified by:
id in interface ContainedOperations

id

public void id(java.lang.String value)
Description copied from interface: ContainedOperations
An object that is contained by another object has an id attribute that identifies it globally.
Specified by:
id in interface ContainedOperations

name

public java.lang.String name()
Description copied from interface: ContainedOperations
An object that is contained by another object has a name attribute that identifies it uniquely within the enclosing Container object.
Specified by:
name in interface ContainedOperations

name

public void name(java.lang.String value)
Description copied from interface: ContainedOperations
An object that is contained by another object has a name attribute that identifies it uniquely within the enclosing Container object.
Specified by:
name in interface ContainedOperations

version

public java.lang.String version()
Description copied from interface: ContainedOperations
An object that is contained by another object has a version attribute that distinguishes it from other versioned objects with the same name.
Specified by:
version in interface ContainedOperations

version

public void version(java.lang.String value)
Description copied from interface: ContainedOperations
An object that is contained by another object has a version attribute that distinguishes it from other versioned objects with the same name.
Specified by:
version in interface ContainedOperations

defined_in

public Container defined_in()
Description copied from interface: ContainedOperations
Contained objects also have a defined_in attribute that identifies the Container within which they are defined. Objects can be contained either because they are defined within the containing object (for example, an interface is defined within a module) or because they are inherited by the containing object (for example, an operation may be contained by an interface because the interface inherits the operation from another interface). If an object is contained through inheritance, the defined_in attribute identifies the InterfaceDef or ValueDef from which the object is inherited.
Specified by:
defined_in in interface ContainedOperations

absolute_name

public java.lang.String absolute_name()
Description copied from interface: ContainedOperations
The absolute_name attribute is an absolute ScopedName that identifies a Contained object uniquely within its enclosing Repository. If this object’s defined_in attribute references a Repository, the absolute_name is formed by concatenating the string "::" and this object’s name attribute. Otherwise, the absolute_name is formed by concatenating the absolute_name attribute of the object referenced by this object’s defined_in attribute, the string "::", and this object’s name attribute.
Specified by:
absolute_name in interface ContainedOperations

containing_repository

public Repository containing_repository()
Description copied from interface: ContainedOperations
The containing_repository attribute identifies the Repository that is eventually reached by recursively following the object’s defined_in attribute.
Specified by:
containing_repository in interface ContainedOperations

describe

public Description describe()
Description copied from interface: ContainedOperations
The describe operation returns a structure containing information about the interface. This operation is overloaded in each sub interface. For example, if the describe operation is invoked on an attribute object, the kind field contains dk_Attribute name field contains "AttributeDescription" and the value field contains an any, which contains the AttributeDescription structure. The kind field in this must contain dk_attribute and not the kind of any IRObject from which the attribute object is derived. For example returning dk_all would be an error.
Specified by:
describe in interface ContainedOperations

move

public void move(Container new_container,
                 java.lang.String new_name,
                 java.lang.String new_version)
Description copied from interface: ContainedOperations
The move operation atomically removes this object from its current Container, and adds it to the Container specified by new_container must satisfy the following conditions: It must be in the same Repository. If it is not, then BAD_PARAM exception is raised with minor code 4. It must be capable of containing this object’s type. If it is not, then BAD_PARAM exception is raised with minor code 4. It must not already contain an object with this object’s name (unless multiple versions are supported by the IR). If this condition is not satisfied, then BAD_PARAM exception is raised with minor code 3.
Specified by:
move in interface ContainedOperations

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