|
||||||||
| 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.openorb.ir.impl.ValueDefImpl
This class is the ValueDef implementation.
| Constructor Summary | |
ValueDefImpl(org.omg.CORBA.ORB orb,
org.omg.PortableServer.POA parentPOA,
ValueDefHome home)
Constructor |
|
| Method Summary | |
java.lang.String |
absolute_name()
The absolute_name attribute is an absolute ScopedName that identifies a Contained object uniquely within its enclosing Repository. |
org.omg.CORBA.ValueDef[] |
abstract_base_values()
The abstract_base_values attribute lists the abstract value types from which this value inherits. |
void |
abstract_base_values(org.omg.CORBA.ValueDef[] value)
The abstract_base_values attribute lists the abstract value types from which this value inherits. |
org.omg.CORBA.ValueDef |
base_value()
The base_value attribute describes the value type from which this value inherits. |
void |
base_value(org.omg.CORBA.ValueDef value)
The base_value attribute describes the value type from which this value inherits. |
org.omg.CORBA.Repository |
containing_repository()
The containing_repository attribute identifies the Repository that is eventually reached by recursively following the object's defined_in attribute. |
org.omg.CORBA.Contained[] |
contents(org.omg.CORBA.DefinitionKind limit_type,
boolean exclude_inherited)
The contents operation returns the list of objects directly contained by or inherited into the object. |
org.omg.CORBA.AbstractInterfaceDef |
create_abstract_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.AbstractInterfaceDef[] base_interfaces)
The create_abstract_interface operation returns a new AbstractInterfaceDef with the specified name and base interfaces. |
org.omg.CORBA.AliasDef |
create_alias(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType original_type)
The create_alias operation returns a new AliasDef with the specified original_type. |
org.omg.CORBA.AttributeDef |
create_attribute(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType type,
org.omg.CORBA.AttributeMode mode)
The create_attribute operation returns a new AttributeDef contained in the ValueDef on which it is invoked. |
org.omg.CORBA.ConstantDef |
create_constant(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType type,
org.omg.CORBA.Any value)
The create_constant operation returns a new ConstantDef with the specified type and value. |
org.omg.CORBA.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. |
org.omg.CORBA.ExceptionDef |
create_exception(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.StructMember[] members)
The create_exception operation returns a new ExceptionDef with the specified members. |
org.omg.CORBA.InterfaceDef |
create_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.InterfaceDef[] base_interfaces)
The create_interface operation returns a new empty InterfaceDef with the specified base_interfaces. |
org.omg.CORBA.LocalInterfaceDef |
create_local_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.LocalInterfaceDef[] base_interfaces)
The create_local_interface operation returns a new LocalInterfaceDef with the specified name and base interfaces. |
org.omg.CORBA.ModuleDef |
create_module(java.lang.String id,
java.lang.String name,
java.lang.String version)
The create_module operation returns a new empty ModuleDef. |
org.omg.CORBA.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. |
org.omg.CORBA.OperationDef |
create_operation(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType result,
org.omg.CORBA.OperationMode mode,
org.omg.CORBA.ParameterDescription[] params,
org.omg.CORBA.ExceptionDef[] exceptions,
java.lang.String[] contexts)
The create_operation operation returns a new OperationDef contained in the ValueDef on which it is invoked. |
org.omg.CORBA.StructDef |
create_struct(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.StructMember[] members)
The create_struct operation returns a new StructDef with the specified members. |
org.omg.CORBA.UnionDef |
create_union(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType discriminator_type,
org.omg.CORBA.UnionMember[] members)
The create_union operation returns a new UnionDef with the specified discriminator_type and members. |
org.omg.CORBA.ValueBoxDef |
create_value_box(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType original_type_def)
The create_value_box operation returns a new ValueBoxDef with the specified original_type_def. |
org.omg.CORBA.ValueMemberDef |
create_value_member(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType type,
short access)
The create_value_member operation returns a new ValueMemberDef contained in the ValueDef on which it is invoked. |
org.omg.CORBA.ValueDef |
create_value(java.lang.String id,
java.lang.String name,
java.lang.String version,
boolean is_custom,
boolean is_abstract,
org.omg.CORBA.ValueDef base_value,
boolean is_truncatable,
org.omg.CORBA.ValueDef[] abstract_base_value,
org.omg.CORBA.InterfaceDef[] supported_interface,
org.omg.CORBA.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). |
org.omg.CORBA.DefinitionKind |
def_kind()
The def_kind type_name attribute identifies the type of the definition. |
org.omg.CORBA.Container |
defined_in()
Contained objects also have a defined_in attribute that identifies the Container within which they are defined. |
org.omg.CORBA.ContainerPackage.Description[] |
describe_contents(org.omg.CORBA.DefinitionKind limit_type,
boolean exclude_inherited,
int max_returned_objs)
The describe_contents operation combines the contents operation and the describe operation. |
org.omg.CORBA.ValueDefPackage.FullValueDescription |
describe_value()
The describe_value operation returns a FullValueDescription describing the value, including its operations and attributes. |
org.omg.CORBA.ContainedPackage.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. |
ValueDefHome |
getHome()
Get the ValueDef home |
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. |
org.omg.CORBA.Initializer[] |
initializers()
The initializers attribute lists the initializers this value type supports. |
void |
initializers(org.omg.CORBA.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. |
org.omg.CORBA.Contained[] |
lookup_name(java.lang.String search_name,
int levels_to_search,
org.omg.CORBA.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. |
org.omg.CORBA.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(org.omg.CORBA.Container new_contained,
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. |
org.omg.CORBA.InterfaceDef[] |
supported_interfaces()
The supported_interfaces attribute lists the interfaces which this value type supports. |
void |
supported_interfaces(org.omg.CORBA.InterfaceDef[] value)
The supported_interfaces attribute lists the interfaces which this value type supports. |
org.omg.CORBA.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 |
_default_POA, _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 ValueDefImpl(org.omg.CORBA.ORB orb,
org.omg.PortableServer.POA parentPOA,
ValueDefHome home)
| Method Detail |
public ValueDefHome getHome()
public org.omg.CORBA.InterfaceDef[] supported_interfaces()
supported_interfaces in class org.omg.CORBA.ValueDefPOApublic void supported_interfaces(org.omg.CORBA.InterfaceDef[] value)
supported_interfaces in class org.omg.CORBA.ValueDefPOApublic org.omg.CORBA.Initializer[] initializers()
initializers in class org.omg.CORBA.ValueDefPOApublic void initializers(org.omg.CORBA.Initializer[] value)
initializers in class org.omg.CORBA.ValueDefPOApublic org.omg.CORBA.ValueDef base_value()
base_value in class org.omg.CORBA.ValueDefPOApublic void base_value(org.omg.CORBA.ValueDef value)
base_value in class org.omg.CORBA.ValueDefPOApublic org.omg.CORBA.ValueDef[] abstract_base_values()
abstract_base_values in class org.omg.CORBA.ValueDefPOApublic void abstract_base_values(org.omg.CORBA.ValueDef[] value)
abstract_base_values in class org.omg.CORBA.ValueDefPOApublic boolean is_abstract()
is_abstract in class org.omg.CORBA.ValueDefPOApublic void is_abstract(boolean value)
is_abstract in class org.omg.CORBA.ValueDefPOApublic boolean is_custom()
is_custom in class org.omg.CORBA.ValueDefPOApublic void is_custom(boolean value)
is_custom in class org.omg.CORBA.ValueDefPOApublic boolean is_truncatable()
is_truncatable in class org.omg.CORBA.ValueDefPOApublic void is_truncatable(boolean value)
is_truncatable in class org.omg.CORBA.ValueDefPOApublic boolean is_a(java.lang.String id)
is_a in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.ValueMemberDef create_value_member(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType type,
short access)
create_value_member in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.AttributeDef create_attribute(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType type,
org.omg.CORBA.AttributeMode mode)
create_attribute in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.OperationDef create_operation(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType result,
org.omg.CORBA.OperationMode mode,
org.omg.CORBA.ParameterDescription[] params,
org.omg.CORBA.ExceptionDef[] exceptions,
java.lang.String[] contexts)
create_operation in class org.omg.CORBA.ValueDefPOApublic org.omg.CORBA.DefinitionKind def_kind()
def_kind in class org.omg.CORBA.ValueDefPOApublic void destroy()
destroy in class org.omg.CORBA.ValueDefPOApublic org.omg.CORBA.TypeCode type()
type in class org.omg.CORBA.ValueDefPOApublic org.omg.CORBA.Contained lookup(java.lang.String search_name)
lookup in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.Contained[] contents(org.omg.CORBA.DefinitionKind limit_type,
boolean exclude_inherited)
contents in class org.omg.CORBA.ValueDefPOAlimit_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 org.omg.CORBA.Contained[] lookup_name(java.lang.String search_name,
int levels_to_search,
org.omg.CORBA.DefinitionKind limit_type,
boolean exclude_inherited)
lookup_name in class org.omg.CORBA.ValueDefPOAsearch_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 org.omg.CORBA.ContainerPackage.Description[] describe_contents(org.omg.CORBA.DefinitionKind limit_type,
boolean exclude_inherited,
int max_returned_objs)
describe_contents in class org.omg.CORBA.ValueDefPOAlimit_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 org.omg.CORBA.ModuleDef create_module(java.lang.String id,
java.lang.String name,
java.lang.String version)
create_module in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.ConstantDef create_constant(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType type,
org.omg.CORBA.Any value)
create_constant in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.StructDef create_struct(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.StructMember[] members)
create_struct in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.UnionDef create_union(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType discriminator_type,
org.omg.CORBA.UnionMember[] members)
create_union in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.EnumDef create_enum(java.lang.String id,
java.lang.String name,
java.lang.String version,
java.lang.String[] members)
create_enum in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.AliasDef create_alias(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType original_type)
create_alias in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.InterfaceDef create_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.InterfaceDef[] base_interfaces)
create_interface in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.ValueDef create_value(java.lang.String id,
java.lang.String name,
java.lang.String version,
boolean is_custom,
boolean is_abstract,
org.omg.CORBA.ValueDef base_value,
boolean is_truncatable,
org.omg.CORBA.ValueDef[] abstract_base_value,
org.omg.CORBA.InterfaceDef[] supported_interface,
org.omg.CORBA.Initializer[] initializers)
create_value in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.ValueBoxDef create_value_box(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.IDLType original_type_def)
create_value_box in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.ExceptionDef create_exception(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.StructMember[] members)
create_exception in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.NativeDef create_native(java.lang.String id,
java.lang.String name,
java.lang.String version)
create_native in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.AbstractInterfaceDef create_abstract_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.AbstractInterfaceDef[] base_interfaces)
create_abstract_interface in class org.omg.CORBA.ValueDefPOA
public org.omg.CORBA.LocalInterfaceDef create_local_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
org.omg.CORBA.LocalInterfaceDef[] base_interfaces)
create_local_interface in class org.omg.CORBA.ValueDefPOApublic java.lang.String id()
id in class org.omg.CORBA.ValueDefPOApublic void id(java.lang.String value)
id in class org.omg.CORBA.ValueDefPOApublic java.lang.String name()
name in class org.omg.CORBA.ValueDefPOApublic void name(java.lang.String value)
name in class org.omg.CORBA.ValueDefPOApublic java.lang.String version()
version in class org.omg.CORBA.ValueDefPOApublic void version(java.lang.String value)
version in class org.omg.CORBA.ValueDefPOApublic org.omg.CORBA.Container defined_in()
defined_in in class org.omg.CORBA.ValueDefPOApublic java.lang.String absolute_name()
absolute_name in class org.omg.CORBA.ValueDefPOApublic org.omg.CORBA.Repository containing_repository()
containing_repository in class org.omg.CORBA.ValueDefPOApublic org.omg.CORBA.ContainedPackage.Description describe()
describe in class org.omg.CORBA.ValueDefPOApublic org.omg.CORBA.ValueDefPackage.FullValueDescription describe_value()
describe_value in class org.omg.CORBA.ValueDefPOA
public void move(org.omg.CORBA.Container new_contained,
java.lang.String new_name,
java.lang.String new_version)
move in class org.omg.CORBA.ValueDefPOA
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||