Realizing server associations
About this task
To realize a directed association from one CORBA interface to another CORBA interface, you must implement the accessor operations in the subclass that implements the source CORBA interface. Use one of the following methods:
- Directly define the accessors in the realizing class.
- Draw an association with the same target role from the realizing class to the target CORBA interface. Rhapsody® generates accessors with appropriate signatures.
In the latter case, if the relation has a multiplicity of one, the return and
argument type of the accessor is IB_ptr
. If the multiplicity is many, the return
type of the accessor is IB_seq
, and the realizing operation returns an instance of
the IB_seq
class that is generated by the IDL compiler and populated with the
associated objects.