|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.PortableServer.Servant | +--org.omg.CORBA.ValueDefPOA | +--org.omg.CORBA.ValueDefPOATie
A ValueDef object represents a value definition.
Constructor Summary | |
ValueDefPOATie(ValueDefOperations tieObject)
|
|
ValueDefPOATie(ValueDefOperations tieObject,
POA poa)
|
Method Summary | |
POA |
_default_POA()
|
ValueDefOperations |
_delegate()
|
void |
_delegate(ValueDefOperations delegate_)
|
java.lang.String |
absolute_name()
The absolute_name attribute is an absolute ScopedName that identifies a Contained object uniquely within its enclosing Repository. |
ValueDef[] |
abstract_base_values()
The abstract_base_values attribute lists the abstract value types from which this value inherits. |
void |
abstract_base_values(ValueDef[] value)
The abstract_base_values attribute lists the abstract value types from which this value inherits. |
ValueDef |
base_value()
The base_value attribute describes the value type from which this value inherits. |
void |
base_value(ValueDef value)
The base_value attribute describes the value type from which this value inherits. |
Repository |
containing_repository()
The containing_repository attribute identifies the Repository that is eventually reached by recursively following the object’s defined_in attribute. |
Contained[] |
contents(DefinitionKind limit_type,
boolean exclude_inherited)
The contents operation returns the list of objects directly contained by or inherited into the object. |
AbstractInterfaceDef |
create_abstract_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
AbstractInterfaceDef[] base_interfaces)
The create_abstract_interface operation returns a new AbstractInterfaceDef with the specified name and base interfaces. |
AliasDef |
create_alias(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType original_type)
The create_alias operation returns a new AliasDef with the specified original_type. |
AttributeDef |
create_attribute(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType type,
AttributeMode mode)
The create_attribute operation returns a new AttributeDef contained in the ValueDef on which it is invoked. |
ConstantDef |
create_constant(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType type,
Any value)
The create_constant operation returns a new ConstantDef with the specified type and value. |
EnumDef |
create_enum(java.lang.String id,
java.lang.String name,
java.lang.String version,
java.lang.String[] members)
The create_enum operation returns a new EnumDef with the specified members. |
ExceptionDef |
create_exception(java.lang.String id,
java.lang.String name,
java.lang.String version,
StructMember[] members)
The create_exception operation returns a new ExceptionDef with the specified members. |
InterfaceDef |
create_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
InterfaceDef[] base_interfaces)
The create_interface operation returns a new empty InterfaceDef with the specified base_interfaces. |
LocalInterfaceDef |
create_local_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
LocalInterfaceDef[] base_interfaces)
The create_local_interface operation returns a new LocalInterfaceDef with the specified name and base interfaces. |
ModuleDef |
create_module(java.lang.String id,
java.lang.String name,
java.lang.String version)
The create_module operation returns a new empty ModuleDef. |
NativeDef |
create_native(java.lang.String id,
java.lang.String name,
java.lang.String version)
The create_native operation returns a new NativeDef with the specified name. |
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)
The create_operation operation returns a new OperationDef contained in the ValueDef on which it is invoked. |
StructDef |
create_struct(java.lang.String id,
java.lang.String name,
java.lang.String version,
StructMember[] members)
The create_struct operation returns a new StructDef with the specified members. |
UnionDef |
create_union(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType discriminator_type,
UnionMember[] members)
The create_union operation returns a new UnionDef with the specified discriminator_type and members. |
ValueBoxDef |
create_value_box(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType original_type_def)
The create_value_box operation returns a new ValueBoxDef with the specified original_type_def. |
ValueMemberDef |
create_value_member(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType type,
short access)
The create_value_member operation returns a new ValueMemberDef contained in the ValueDef on which it is invoked. |
ValueDef |
create_value(java.lang.String id,
java.lang.String name,
java.lang.String version,
boolean is_custom,
boolean is_abstract,
ValueDef base_value,
boolean is_truncatable,
ValueDef[] abstract_base_value,
InterfaceDef[] supported_interfaces,
Initializer[] initializers)
The create_value operation returns a new empty ValueDef with the specified base interfaces and values (base_value, supported_interfaces, and abstract_base_values) as well as the other information describing the new values characteristics (is_custom, is_abstract, is_truncatable, and initializers). |
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_contents(DefinitionKind limit_type,
boolean exclude_inherited,
int max_returned_objs)
The describe_contents operation combines the contents operation and the describe operation. |
FullValueDescription |
describe_value()
The describe_value operation returns a FullValueDescription describing the value, including its operations and attributes. |
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. |
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. |
Initializer[] |
initializers()
The initializers attribute lists the initializers this value type supports. |
void |
initializers(Initializer[] value)
The initializers attribute lists the initializers this value type supports. |
boolean |
is_a(java.lang.String id)
The is_a operation returns TRUE if the value on which it is invoked either is identical to or inherits, directly or indirectly, from the interface or value identified by its id parameter. |
boolean |
is_abstract()
The is_abstract attribute is TRUE if the value is an abstract value type. |
void |
is_abstract(boolean value)
The is_abstract attribute is TRUE if the value is an abstract value type. |
boolean |
is_custom()
The is_custom attribute is TRUE if the value uses custom marshaling. |
void |
is_custom(boolean value)
The is_custom attribute is TRUE if the value uses custom marshaling. |
boolean |
is_truncatable()
The is_truncatable attribute is TRUE if the value inherits "safely" (i.e., supports truncation) from another value. |
void |
is_truncatable(boolean value)
The is_truncatable attribute is TRUE if the value inherits "safely" (i.e., supports truncation) from another value. |
Contained[] |
lookup_name(java.lang.String search_name,
int levels_to_search,
DefinitionKind limit_type,
boolean exclude_inherited)
The lookup_name operation is used to locate an object by name within a particular object or within the objects contained by that object. |
Contained |
lookup(java.lang.String search_name)
The lookup operation locates a definition relative to this container given a scoped name using OMG IDL’s name scoping rules. |
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. |
InterfaceDef[] |
supported_interfaces()
The supported_interfaces attribute lists the interfaces which this value type supports. |
void |
supported_interfaces(InterfaceDef[] value)
The supported_interfaces attribute lists the interfaces which this value type supports. |
TypeCode |
type()
The type attribute describes the type defined by an object derived from IDLType. |
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.ValueDefPOA |
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
_get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValueDefPOATie(ValueDefOperations tieObject)
public ValueDefPOATie(ValueDefOperations tieObject, POA poa)
Method Detail |
public ValueDefOperations _delegate()
public void _delegate(ValueDefOperations delegate_)
public POA _default_POA()
_default_POA
in class Servant
public InterfaceDef[] supported_interfaces()
ValueDefOperations
public void supported_interfaces(InterfaceDef[] value)
ValueDefOperations
public Initializer[] initializers()
ValueDefOperations
public void initializers(Initializer[] value)
ValueDefOperations
public ValueDef base_value()
ValueDefOperations
public void base_value(ValueDef value)
ValueDefOperations
public ValueDef[] abstract_base_values()
ValueDefOperations
public void abstract_base_values(ValueDef[] value)
ValueDefOperations
public boolean is_abstract()
ValueDefOperations
public void is_abstract(boolean value)
ValueDefOperations
public boolean is_custom()
ValueDefOperations
public void is_custom(boolean value)
ValueDefOperations
public boolean is_truncatable()
ValueDefOperations
public void is_truncatable(boolean value)
ValueDefOperations
public boolean is_a(java.lang.String id)
ValueDefOperations
public FullValueDescription describe_value()
ValueDefOperations
public ValueMemberDef create_value_member(java.lang.String id, java.lang.String name, java.lang.String version, IDLType type, short access)
ValueDefOperations
public AttributeDef create_attribute(java.lang.String id, java.lang.String name, java.lang.String version, IDLType type, AttributeMode mode)
ValueDefOperations
public 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)
ValueDefOperations
public Contained lookup(java.lang.String search_name)
ContainerOperations
public Contained[] contents(DefinitionKind limit_type, boolean exclude_inherited)
ContainerOperations
org.omg.CORBA.ContainerOperations
limit_type
- If limit_type is set to dk_all "all", objects
of all interface types are returned. For example, if
this is an InterfaceDef, the attribute, operation,
and exception objects are all returned. If
limit_type is set to a specific interface, only
objects of that interface type are returned. For
example, only attribute objects are returned if
limit_type is set to dk_Attribute "AttributeDef".exclude_inherited
- If set to TRUE, inherited objects (if
there are any) are not returned. If set to FALSE,
all contained objects,whether contained due to
inheritance or because they were defined within
the object,are returned.public Contained[] lookup_name(java.lang.String search_name, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited)
ContainerOperations
org.omg.CORBA.ContainerOperations
search_name
- Specified which name is to be searched for.levels_to_search
- Controls whether the lookup is
constrained to the object the operation is invoked
on or whether it should search through objects
contained by the object as well.limit_type
- If limit_type is set to dk_all "all", objects
of all interface types are returned. For example, if
this is an InterfaceDef, the attribute, operation,
and exception objects are all returned. If
limit_type is set to a specific interface, only
objects of that interface type are returned. For
example, only attribute objects are returned if
limit_type is set to dk_Attribute "AttributeDef".exclude_inherited
- If set to TRUE, inherited objects (if
there are any) are not returned. If set to FALSE,
all contained objects,whether contained due to
inheritance or because they were defined within
the object,are returned.public Description[] describe_contents(DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)
ContainerOperations
org.omg.CORBA.ContainerOperations
limit_type
- If limit_type is set to dk_all "all", objects
of all interface types are returned. For example, if
this is an InterfaceDef, the attribute, operation,
and exception objects are all returned. If
limit_type is set to a specific interface, only
objects of that interface type are returned. For
example, only attribute objects are returned if
limit_type is set to dk_Attribute "AttributeDef".exclude_inherited
- If set to TRUE, inherited objects (if
there are any) are not returned. If set to FALSE,
all contained objects,whether contained due to
inheritance or because they were defined within
the object,are returned.max_returned_objs
- max_returned_objs Limits the number of
objects that can be returned in an invocation of
the call to the number provided. Setting the
parameter to -1 means return all contained
objects.public ModuleDef create_module(java.lang.String id, java.lang.String name, java.lang.String version)
ContainerOperations
public ConstantDef create_constant(java.lang.String id, java.lang.String name, java.lang.String version, IDLType type, Any value)
ContainerOperations
public StructDef create_struct(java.lang.String id, java.lang.String name, java.lang.String version, StructMember[] members)
ContainerOperations
public UnionDef create_union(java.lang.String id, java.lang.String name, java.lang.String version, IDLType discriminator_type, UnionMember[] members)
ContainerOperations
public EnumDef create_enum(java.lang.String id, java.lang.String name, java.lang.String version, java.lang.String[] members)
ContainerOperations
public AliasDef create_alias(java.lang.String id, java.lang.String name, java.lang.String version, IDLType original_type)
ContainerOperations
public InterfaceDef create_interface(java.lang.String id, java.lang.String name, java.lang.String version, InterfaceDef[] base_interfaces)
ContainerOperations
public ValueDef create_value(java.lang.String id, java.lang.String name, java.lang.String version, boolean is_custom, boolean is_abstract, ValueDef base_value, boolean is_truncatable, ValueDef[] abstract_base_value, InterfaceDef[] supported_interfaces, Initializer[] initializers)
ContainerOperations
public ValueBoxDef create_value_box(java.lang.String id, java.lang.String name, java.lang.String version, IDLType original_type_def)
ContainerOperations
public ExceptionDef create_exception(java.lang.String id, java.lang.String name, java.lang.String version, StructMember[] members)
ContainerOperations
public NativeDef create_native(java.lang.String id, java.lang.String name, java.lang.String version)
ContainerOperations
public AbstractInterfaceDef create_abstract_interface(java.lang.String id, java.lang.String name, java.lang.String version, AbstractInterfaceDef[] base_interfaces)
ContainerOperations
public LocalInterfaceDef create_local_interface(java.lang.String id, java.lang.String name, java.lang.String version, LocalInterfaceDef[] base_interfaces)
ContainerOperations
public DefinitionKind def_kind()
IRObjectOperations
public void destroy()
IRObjectOperations
public java.lang.String id()
ContainedOperations
public void id(java.lang.String value)
ContainedOperations
public java.lang.String name()
ContainedOperations
public void name(java.lang.String value)
ContainedOperations
public java.lang.String version()
ContainedOperations
public void version(java.lang.String value)
ContainedOperations
public Container defined_in()
ContainedOperations
public java.lang.String absolute_name()
ContainedOperations
public Repository containing_repository()
ContainedOperations
public Description describe()
ContainedOperations
public void move(Container new_container, java.lang.String new_name, java.lang.String new_version)
ContainedOperations
public TypeCode type()
IDLTypeOperations
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |