ibm Rational Rhapsody 7.5 — Define relations

Classes and types Љ In the Modifiers area you specify the modifiers of the destructor. Select Virtual , if wanted. To type code for the body of the destructor, use the Implementation tab. Define class ports Use the Ports tab to create, modify, and delete class ports. The Ports tab contains the following columns: Љ Name specifies the name of the port. Љ Contract specifies the contract of the port. For more information about contacts, see The Port Contract tab . The possible values are as follows: Implicit means that the contract is a “hidden” interface that exists only as the contract of the port. Explicit mean that the contract is an explicit interface in the model.

An explicit contract can be reused so several ports can have the same contract. Љ Multiplicity specifies the multiplicity of the port. The default value is 1. Љ Behavior specifies whether the port is a behavioral port, which means that the messages of the provided interface are forwarded to the owner class. If it is non-behavioral , the messages are sent to one of the internal parts of the class. Љ Reversed specifies whether the interfaces are reversed, so the provided interfaces become the required interfaces and vice versa. For instructions on how to use the interface on this tab to create, modify, or delete a port, see Defining the attributes of a class .

For detailed information about specifying ports, see Ports . Define relations The term “relations” refers to all the relationships you can define between elements in the model (not just classes); for example, associations, dependencies, generalization, flows, and links. (In previous versions of Rational Rhapsody, the term referred to all the different kinds of associations.) The Relations tab lists all the relationships (dependencies, associations, and so on) the class is engaged with. The Relations tab contains the following columns: Љ Name specifies the name of the relation. 80 User Guide