org.openorb.ir.impl
Class Shared
public
class
Shared
extends Object
This class is used to initialize the storage types states.
Author: Olivier Modica
Method Summary |
static AliasDef | addAliasDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType original_type)
This method is used to add an AliasDef into a Container |
static AttributeDef | addAttributeDef(InterfaceDef interfaceDef, ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType type, AttributeMode mode)
This method is used to add an AttributeDef into an Interface |
static AttributeDef | addAttributeDef2(ValueDef valueDef, ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType type, AttributeMode mode)
This method is used to add an AttributeDef into a Value |
static ConstantDef | addConstantDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType type, Any value)
This method is used to add an ConstantDef into a Container |
static EnumDef | addEnumDef(Container container, ContainerRef containerRef, POA parentPOA, ORB orb, String id, String name, String version, String[] members)
This method is used to add an EnumDef into a Container |
static ExceptionDef | addExceptionDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version, StructMember[] members)
This method is used to add an ExceptionDef into a Container |
static InterfaceDef | addInterfaceDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version, InterfaceDef[] base_interfaces, int interface_type)
This method is used to add an InterfaceDef into a Container |
static ModuleDef | addModuleDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version)
This method is used to add an ModuleDef into a Container |
static NativeDef | addNativeDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version)
This method is used to add an NativeDef into a Container |
static OperationDef | addOperationDef(InterfaceDef interfaceDef, ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType result, OperationMode mode, ParameterDescription[] params, ExceptionDef[] exceptions, String[] contexts)
This method is used to add an OperationDef into an Interface |
static OperationDef | addOperationDef2(ValueDef valueDef, ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType result, OperationMode mode, ParameterDescription[] params, ExceptionDef[] exceptions, String[] contexts)
This method is used to add an OperationDef into a Value |
static StructDef | addStructDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version, StructMember[] members)
This method is used to add an StructDef into a Container |
static UnionDef | addUnionDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType discriminator_type, UnionMember[] members)
This method is used to add an UnionDef into a Container |
static ValueBoxDef | addValueBoxDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType original_type_def)
This method is used to add a ValueBoxDef into a Container |
static ValueDef | addValueDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version, boolean is_custom, boolean is_abstract, ValueDef base_value, boolean is_truncatable, ValueDef[] abstract_base_value, InterfaceDef[] supported_interfaces, Initializer[] initializers)
This method is used to add a ValueDef into a Container |
static ValueMemberDef | addValueMemberDef(Container container, ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType type_def, short access)
This method is used to add a ValueMemberDef into a Container |
static Contained[] | contents(Container container, POA parentPOA, DefinitionKind limit_type, boolean exclude_inherited)
This methods returns the contents of a container |
static Description[] | contentsDescription(Container container, POA parentPOA, DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)
This methods returns the contents description of a container |
static StorageObjectRef[] | contentsRef(Container container, DefinitionKind limit_type, boolean exclude_inherited)
This methods returns the contents reference of a container |
static Description | describeAttribute(ORB orb, AttributeDef def)
This method returns a AttributeDef description |
static Description | describeConstant(ORB orb, ConstantDef def)
This method returns a ConstantDef description |
static Description | describeException(ORB orb, ExceptionDef def)
This method returns a ExceptionDef description |
static Description | describeInterface(ORB orb, InterfaceDef def)
This method returns a InterfaceDef description |
static Description | describeModule(ORB orb, ModuleDef def)
This method returns a ModuleDef description |
static Description | describeOperation(ORB orb, OperationDef def)
This method returns a OperationDef description |
static Description | describeTypedef(ORB orb, TypedefDef def)
This method returns a TypedefDef description |
static Description | describeValue(ORB orb, ValueDef def)
This method returns a ValueDef description |
static Description | describeValueMember(ORB orb, ValueMemberDef def)
This method returns a ValueDef description |
static Contained | lookupId(String id, POA parentPOA)
This operation looks up an id in the Repository |
static Contained | lookupName(String scopedName, Container container, POA parentPOA)
This operation looks up a name within a container
The name may be relative to the Container or Repository |
static Contained[] | lookupNames(String search_name, Container container, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited, POA parentPOA)
This operation looks up a name within a container
The name may be relative to the Container or Repository |
static void | move(ContainerRef old_container, ContainerRef new_container, ContainedRef contained, String new_name, 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. |
static void | moveContained(Contained contained, POA parentPOA, Container new_container, String new_name, String new_version)
This method is used to move a contained from a container to a new container |
static void | removeContained(Contained contained, String id)
This method is used to remove a contained from a container |
public static AliasDef addAliasDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType original_type)
This method is used to add an AliasDef into a Container
public static AttributeDef addAttributeDef(
InterfaceDef interfaceDef,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType type, AttributeMode mode)
This method is used to add an AttributeDef into an Interface
public static AttributeDef addAttributeDef2(
ValueDef valueDef,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType type, AttributeMode mode)
This method is used to add an AttributeDef into a Value
public static ConstantDef addConstantDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType type, Any value)
This method is used to add an ConstantDef into a Container
public static EnumDef addEnumDef(
Container container,
ContainerRef containerRef, POA parentPOA, ORB orb, String id, String name, String version, String[] members)
This method is used to add an EnumDef into a Container
public static ExceptionDef addExceptionDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, StructMember[] members)
This method is used to add an ExceptionDef into a Container
public static InterfaceDef addInterfaceDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, InterfaceDef[] base_interfaces, int interface_type)
This method is used to add an InterfaceDef into a Container
public static ModuleDef addModuleDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version)
This method is used to add an ModuleDef into a Container
public static NativeDef addNativeDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version)
This method is used to add an NativeDef into a Container
public static OperationDef addOperationDef(
InterfaceDef interfaceDef,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType result, OperationMode mode, ParameterDescription[] params, ExceptionDef[] exceptions, String[] contexts)
This method is used to add an OperationDef into an Interface
public static OperationDef addOperationDef2(
ValueDef valueDef,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType result, OperationMode mode, ParameterDescription[] params, ExceptionDef[] exceptions, String[] contexts)
This method is used to add an OperationDef into a Value
public static StructDef addStructDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, StructMember[] members)
This method is used to add an StructDef into a Container
public static UnionDef addUnionDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType discriminator_type, UnionMember[] members)
This method is used to add an UnionDef into a Container
public static ValueBoxDef addValueBoxDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType original_type_def)
This method is used to add a ValueBoxDef into a Container
public static ValueDef addValueDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, boolean is_custom, boolean is_abstract, ValueDef base_value, boolean is_truncatable, ValueDef[] abstract_base_value, InterfaceDef[] supported_interfaces, Initializer[] initializers)
This method is used to add a ValueDef into a Container
public static ValueMemberDef addValueMemberDef(
Container container,
ContainerRef containerRef, POA parentPOA, String id, String name, String version, IDLType type_def, short access)
This method is used to add a ValueMemberDef into a Container
public static Contained[] contents(
Container container, POA parentPOA, DefinitionKind limit_type, boolean exclude_inherited)
This methods returns the contents of a container
public static Description[] contentsDescription(
Container container, POA parentPOA, DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)
This methods returns the contents description of a container
public static StorageObjectRef[] contentsRef(
Container container, DefinitionKind limit_type, boolean exclude_inherited)
This methods returns the contents reference of a container
public static Description describeAttribute(ORB orb,
AttributeDef def)
This method returns a AttributeDef description
public static Description describeConstant(ORB orb,
ConstantDef def)
This method returns a ConstantDef description
public static Description describeException(ORB orb,
ExceptionDef def)
This method returns a ExceptionDef description
public static Description describeInterface(ORB orb,
InterfaceDef def)
This method returns a InterfaceDef description
public static Description describeModule(ORB orb,
ModuleDef def)
This method returns a ModuleDef description
public static Description describeOperation(ORB orb,
OperationDef def)
This method returns a OperationDef description
public static Description describeTypedef(ORB orb,
TypedefDef def)
This method returns a TypedefDef description
public static Description describeValue(ORB orb,
ValueDef def)
This method returns a ValueDef description
public static Description describeValueMember(ORB orb,
ValueMemberDef def)
This method returns a ValueDef description
public static Contained lookupId(String id, POA parentPOA)
This operation looks up an id in the Repository
public static Contained lookupName(String scopedName,
Container container, POA parentPOA)
This operation looks up a name within a container
The name may be relative to the Container or Repository
public static Contained[] lookupNames(String search_name,
Container container, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited, POA parentPOA)
This operation looks up a name within a container
The name may be relative to the Container or Repository
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 objects 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.
public static void moveContained(
Contained contained, POA parentPOA, Container new_container, String new_name, String new_version)
This method is used to move a contained from a container to a new container
public static void removeContained(
Contained contained, String id)
This method is used to remove a contained from a container