Crossfire JXClient, Trunk
|
import"ir.idl";
Public Attributes | |
attribute IDLType | original_type_def |
Public Attributes inherited from CORBA::IDLType | |
readonly attribute TypeCode | type |
Public Attributes inherited from CORBA::IRObject | |
readonly attribute DefinitionKind | def_kind |
Additional Inherited Members | |
Public Member Functions inherited from CORBA::IRObject | |
void | destroy () |
ValueBoxDef is an interface that reresents a value type with a single data member inside its state section and no inheritance or methods. For example, when transmitting a string or sequence as an actual parameter on an interface operation or as a data member of a value type that is an actual parameter, it may be important to preserve any sharing of the string or sequence within the object graph being transmitted. Because current IDL data types do not preserve referential integrity in this way, this requirement is conveniently handled by using a value type. Value types also support the transmission of nulls (as a distinguished value), whereas IDL data types such as string and sequence (which are mapped to empty strings and sequences) do not. The Java to IDL mapping requires both preservation of referential integrity and transmission of nulls. Because it would be cumbersome to require the full IDL syntax for a value type for this specific usage, this shorthand notation is introduced to cover this use of value types for simple containment of a single data member.