VisiBroker for Java

org.omg.CORBA
Interface InterfaceDefOperations

All Superinterfaces:
ContainedOperations, ContainerOperations, IDLTypeOperations, IRObjectOperations
All Known Subinterfaces:
AbstractInterfaceDef, AbstractInterfaceDefOperations, InterfaceDef, LocalInterfaceDef, LocalInterfaceDefOperations

public interface InterfaceDefOperations
extends ContainerOperations, ContainedOperations, IDLTypeOperations

Represents the concrete interface that is stored in the Interface Repository. This interface provides methods for setting and retrieving the base interfaces as well as creating attributes, operations and an interface description.


Method Summary
 InterfaceDef[] base_interfaces()
          The list of base interfaces to be set
 void base_interfaces(InterfaceDef[] arg0)
          The list of base interfaces to be set
 AttributeDef create_attribute(java.lang.String id, java.lang.String name, java.lang.String version, IDLType type, AttributeMode mode)
          This method adds an attribute to an interface definition.
 OperationDef create_operation(java.lang.String id, java.lang.String name, java.lang.String version, IDLType result, OperationMode mode, ParameterDescription[] params, ExceptionDef[] exceptions, java.lang.String[] contexts)
          Adds an operation to an interface definition.
 FullInterfaceDescription describe_interface()
           
 boolean is_a(java.lang.String interface_id)
           
 
Methods inherited from interface org.omg.CORBA.ContainerOperations
contents, create_abstract_interface, create_alias, create_constant, create_enum, create_exception, create_interface, create_local_interface, create_module, create_native, create_struct, create_union, create_value_box, create_value, describe_contents, lookup_name, lookup
 
Methods inherited from interface org.omg.CORBA.ContainedOperations
absolute_name, containing_repository, defined_in, describe, id, id, move, name, name, version, version
 
Methods inherited from interface org.omg.CORBA.IDLTypeOperations
type
 
Methods inherited from interface org.omg.CORBA.IRObjectOperations
def_kind, destroy
 

Method Detail

create_operation

OperationDef create_operation(java.lang.String id,
                              java.lang.String name,
                              java.lang.String version,
                              IDLType result,
                              OperationMode mode,
                              ParameterDescription[] params,
                              ExceptionDef[] exceptions,
                              java.lang.String[] contexts)
Adds an operation to an interface definition.

Parameters:
id - The operation's identifier.
name - The operation's name.
version - The operation's version.
result - The operation's IDL result type.
mode - The operation's mode.
params - The list of parameters for this operation.
exceptions - The list of exceptions that can be raised by this operation.
conexts - The list of contexts.

create_attribute

AttributeDef create_attribute(java.lang.String id,
                              java.lang.String name,
                              java.lang.String version,
                              IDLType type,
                              AttributeMode mode)
This method adds an attribute to an interface definition.

Parameters:
id - The attribute's identifier.
name - The attribute's name.
version - The attribute's version.
type - The attribute's IDL type.
mode - The attribute's mode.

describe_interface

FullInterfaceDescription describe_interface()
Returns:
an interface description for this object.

is_a

boolean is_a(java.lang.String interface_id)
Returns:
true if this object represents an interface definition that is compatible with a given interface_id.

base_interfaces

InterfaceDef[] base_interfaces()
The list of base interfaces to be set


base_interfaces

void base_interfaces(InterfaceDef[] arg0)
The list of base interfaces to be set


Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online