|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.CORBA.portable.ObjectImpl | +--org.omg.CORBA._RepositoryStub
Repository is an interface that provides global access to the Interface Repository. The Repository object can contain constants, typedefs, exceptions, interfaces, value types, value boxes, native types and modules.
Constructor Summary | |
_RepositoryStub()
|
Method Summary | |
java.lang.String[] |
_ids()
|
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. |
ArrayDef |
create_array(int bound,
IDLType element_type)
The create_array operation returns a new ArrayDef with the specified length and element_type. |
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. |
FixedDef |
create_fixed(short digits,
short scale)
The create_fixed operation returns a new FixedDef with the specified number of digits and scale. |
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. |
SequenceDef |
create_sequence(int bound,
IDLType element_type)
The create_sequence operation returns a new SequenceDef with the specified bound and element_type. |
StringDef |
create_string(int bound)
The create_string operation returns a new StringDef with the specified bound, which must be non-zero. |
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. |
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). |
WstringDef |
create_wstring(int bound)
The create_wstring operation returns a new WstringDef with the specified bound, which must be non-zero. |
DefinitionKind |
def_kind()
The def_kind type_name attribute identifies the type of the definition. |
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. |
void |
destroy()
The destroy operation causes the object to cease to exist. |
TypeCode |
get_canonical_typecode(TypeCode tc)
The get_canonical_typecode operation looks up the TypeCode in the Interface Repository and returns an equivalent TypeCode that includes all repository ids, names, and member_names. |
PrimitiveDef |
get_primitive(PrimitiveKind kind)
The get_primitive operation returns a PrimitiveDef reference that describes a primitive type. |
Contained |
lookup_id(java.lang.String search_id)
The lookup_id operation is used to lookup an object in a Repository given its RepositoryId. |
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. |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
public _RepositoryStub()
Method Detail |
public java.lang.String[] _ids()
_ids
in class ObjectImpl
public Contained lookup_id(java.lang.String search_id)
RepositoryOperations
lookup_id
in interface RepositoryOperations
public TypeCode get_canonical_typecode(TypeCode tc)
RepositoryOperations
get_canonical_typecode
in interface RepositoryOperations
public PrimitiveDef get_primitive(PrimitiveKind kind)
RepositoryOperations
get_primitive
in interface RepositoryOperations
public StringDef create_string(int bound)
RepositoryOperations
create_string
in interface RepositoryOperations
public WstringDef create_wstring(int bound)
RepositoryOperations
create_wstring
in interface RepositoryOperations
public SequenceDef create_sequence(int bound, IDLType element_type)
RepositoryOperations
create_sequence
in interface RepositoryOperations
public ArrayDef create_array(int bound, IDLType element_type)
RepositoryOperations
create_array
in interface RepositoryOperations
public FixedDef create_fixed(short digits, short scale)
RepositoryOperations
create_fixed
in interface RepositoryOperations
public Contained lookup(java.lang.String search_name)
ContainerOperations
lookup
in interface ContainerOperations
public Contained[] contents(DefinitionKind limit_type, boolean exclude_inherited)
ContainerOperations
contents
in interface 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
lookup_name
in interface 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
describe_contents
in interface 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
create_module
in interface ContainerOperations
public ConstantDef create_constant(java.lang.String id, java.lang.String name, java.lang.String version, IDLType type, Any value)
ContainerOperations
create_constant
in interface ContainerOperations
public StructDef create_struct(java.lang.String id, java.lang.String name, java.lang.String version, StructMember[] members)
ContainerOperations
create_struct
in interface ContainerOperations
public UnionDef create_union(java.lang.String id, java.lang.String name, java.lang.String version, IDLType discriminator_type, UnionMember[] members)
ContainerOperations
create_union
in interface ContainerOperations
public EnumDef create_enum(java.lang.String id, java.lang.String name, java.lang.String version, java.lang.String[] members)
ContainerOperations
create_enum
in interface ContainerOperations
public AliasDef create_alias(java.lang.String id, java.lang.String name, java.lang.String version, IDLType original_type)
ContainerOperations
create_alias
in interface ContainerOperations
public InterfaceDef create_interface(java.lang.String id, java.lang.String name, java.lang.String version, InterfaceDef[] base_interfaces)
ContainerOperations
create_interface
in interface 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
create_value
in interface ContainerOperations
public ValueBoxDef create_value_box(java.lang.String id, java.lang.String name, java.lang.String version, IDLType original_type_def)
ContainerOperations
create_value_box
in interface ContainerOperations
public ExceptionDef create_exception(java.lang.String id, java.lang.String name, java.lang.String version, StructMember[] members)
ContainerOperations
create_exception
in interface ContainerOperations
public NativeDef create_native(java.lang.String id, java.lang.String name, java.lang.String version)
ContainerOperations
create_native
in interface ContainerOperations
public AbstractInterfaceDef create_abstract_interface(java.lang.String id, java.lang.String name, java.lang.String version, AbstractInterfaceDef[] base_interfaces)
ContainerOperations
create_abstract_interface
in interface ContainerOperations
public LocalInterfaceDef create_local_interface(java.lang.String id, java.lang.String name, java.lang.String version, LocalInterfaceDef[] base_interfaces)
ContainerOperations
create_local_interface
in interface ContainerOperations
public DefinitionKind def_kind()
IRObjectOperations
def_kind
in interface IRObjectOperations
public void destroy()
IRObjectOperations
destroy
in interface IRObjectOperations
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |