ibm Rational Rhapsody 7.5 — Creating a port

Classes and types Creating a port To create a port in an object model diagram: 1. Click the Port button. 2. Click the class boundary to place the port. A text box opens so you can name the new port. 3. Type the name for the port, then press Enter to dismiss the box. Note that the port label uses the convention portName{[multiplicity]} . For example: a. p b. p[5] c. p[*] The new port displays as a small square on the boundary of its class. Alternatively, you can create a port in the following ways: Љ Use the Ports tab of the Features window for the class. For more information, see Define class ports . Љ Right-click the class in the browser and then select Add New > Port . 92 User Guide