VisiBroker for Java

org.omg.CORBA
Interface ValueDefOperations

All Superinterfaces:
ContainedOperations, ContainerOperations, IDLTypeOperations, IRObjectOperations
All Known Subinterfaces:
ValueDef

public interface ValueDefOperations
extends ContainerOperations, ContainedOperations, IDLTypeOperations

This interface represents a value definition that is stored in the Interface Repository. It can contain constants, typedefs, exceptions, operations, and attributes. This interface is very close to a class type.

See Also:
FullValueDescription

Method Summary
 ValueDef[] abstract_base_values()
          The list of base abstract value types.
 void abstract_base_values(ValueDef[] arg0)
          The list of base abstract value types.
 ValueDef base_value()
          Describes the value types from which this value inherits.
 void base_value(ValueDef arg0)
          Describes the value types from which this value inherits.
 AttributeDef create_attribute(java.lang.String id, java.lang.String name, java.lang.String version, IDLType type, AttributeMode mode)
          This method creates a new attribute definition for this value type
 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)
          This method creates a new operation for this value type
 ValueMemberDef create_value_member(java.lang.String id, java.lang.String name, java.lang.String version, IDLType type_def, short access)
           
 FullValueDescription describe_value()
           
 Initializer[] initializers()
          Lists the initializers
 void initializers(Initializer[] arg0)
          Lists the initializers
 boolean is_a(java.lang.String value_id)
           
 boolean is_abstract()
          The value type to an abstract value type.
 void is_abstract(boolean arg0)
          The value type to an abstract value type.
 boolean is_custom()
          The custom marshalling for the value.
 void is_custom(boolean arg0)
          The custom marshalling for the value.
 boolean is_truncatable()
          If set to true, this value can be safely truncated from its base value.
 void is_truncatable(boolean arg0)
          If set to true, this value can be safely truncated from its base value.
 InterfaceDef[] supported_interfaces()
          The interfaces which this value type supports.
 void supported_interfaces(InterfaceDef[] arg0)
          The interfaces which this value type supports.
 
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)
This method creates a new operation for this value type

Parameters:
id - The repository id of this operation
name - The name of this type.
version - The object's version
result - The IDLType for the operation.
mode - The object's mode.
params - The list of the operation's parameters.
exceptions - The list of the operation's exceptions
contexts - The list of the operation's contexts
Returns:
an OperationDef for it.

create_attribute

AttributeDef create_attribute(java.lang.String id,
                              java.lang.String name,
                              java.lang.String version,
                              IDLType type,
                              AttributeMode mode)
This method creates a new attribute definition for this value type

Parameters:
id - The repository id for this attribute.
name - The name of this type.
version - The object's version.
type - The type's IDL type
mode - The object's mode.
Returns:
an AttributeDef for it

create_value_member

ValueMemberDef create_value_member(java.lang.String id,
                                   java.lang.String name,
                                   java.lang.String version,
                                   IDLType type_def,
                                   short access)
Parameters:
id - The repository id for this type.
name - The name of this type.
version - The object's version.
type_def - The value's IDL type
access - The access value
Returns:
a new ValueMemberDef contained in the ValueDef on which it is invoked

describe_value

FullValueDescription describe_value()

is_a

boolean is_a(java.lang.String value_id)

is_truncatable

boolean is_truncatable()
If set to true, this value can be safely truncated from its base value.


is_truncatable

void is_truncatable(boolean arg0)
If set to true, this value can be safely truncated from its base value.


is_custom

boolean is_custom()
The custom marshalling for the value.


is_custom

void is_custom(boolean arg0)
The custom marshalling for the value.


is_abstract

boolean is_abstract()
The value type to an abstract value type.


is_abstract

void is_abstract(boolean arg0)
The value type to an abstract value type.


abstract_base_values

ValueDef[] abstract_base_values()
The list of base abstract value types.


abstract_base_values

void abstract_base_values(ValueDef[] arg0)
The list of base abstract value types.


base_value

ValueDef base_value()
Describes the value types from which this value inherits.


base_value

void base_value(ValueDef arg0)
Describes the value types from which this value inherits.


initializers

Initializer[] initializers()
Lists the initializers


initializers

void initializers(Initializer[] arg0)
Lists the initializers


supported_interfaces

InterfaceDef[] supported_interfaces()
The interfaces which this value type supports.


supported_interfaces

void supported_interfaces(InterfaceDef[] arg0)
The interfaces which this value type supports.


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