|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryOperations
The Repository provides an interface to the Interface Repository itself, which is used to contain the definitions of objects that are available to clients. The Repository interface provides methods for storing and retrieving definitions. The Repository is the only root object in the Interface Repository containment hierarchy.
Method Summary | |
---|---|
ArrayDef |
create_array(int length,
IDLType element_type)
This method creates an array definition in the repository with the specified length and element type. |
FixedDef |
create_fixed(short digits,
short scale)
This method sets the number of digits and the scale for the fixed type. |
SequenceDef |
create_sequence(int bound,
IDLType element_type)
This method creates an array definition in the repository with the specified number of elements (bound) and element type. |
StringDef |
create_string(int bound)
This method creates a string definition in the repository with the specified number of characters (bound). |
WstringDef |
create_wstring(int bound)
This method creates a Unicode string definition in the repository with
the specified number of characters (bound). |
TypeCode |
get_canonical_typecode(TypeCode tc)
|
PrimitiveDef |
get_primitive(PrimitiveKind kind)
|
Contained |
lookup_id(java.lang.String search_id)
This method searches for an object in the interface repository that matches the specified search_id. |
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.IRObjectOperations |
---|
def_kind, destroy |
Method Detail |
---|
FixedDef create_fixed(short digits, short scale)
digits
- The number of digits for the fixed type.scale
- The scale of the fixed type.ArrayDef create_array(int length, IDLType element_type)
length
- The number of elements in the array. This value must be greater than zero.element_type
- The IDL type of the elements contained in the array.
SequenceDef create_sequence(int bound, IDLType element_type)
bound
- The maximum length of the sequence. This value must be zero or greater.element_type
- The IDL
type of the elements contained in the sequence.
SequenceDef
that is created.WstringDef create_wstring(int bound)
Unicode
string definition in the repository with
the specified number of characters (bound).
WstringDef
that is created.StringDef create_string(int bound)
bound
- The maximum bounds of the string. This value must be zero or greater.PrimitiveDef get_primitive(PrimitiveKind kind)
TypeCode get_canonical_typecode(TypeCode tc)
Contained lookup_id(java.lang.String search_id)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |