A Collaboration describes the structure of elements that implement a certain behavior. In the Collaboration, the elements are the properties connected with the connectors. Example of a collaborationIn this example, you can see the Loan Collaboration. The Collaboration contains two properties - CatcherInTheRye and Adele. These are the properties (attributes) and the LibraryItem and AudioRecord are the types of each property. The CatcherInTheRye and Adele are connected with the connector relationship.
To create the property and connector in the collaboration
- Create a Collaboration symbol in a Class diagram, you may name it Loan, for example.
- On the Class diagram, select the Collaboration, right-click on it to open its shortcut menu. Select the Symbol Properties command.
- In the Symbol Properties dialog, click to clear the Suppress Structure check box. Click Close.
-
Collaboration propertiesYou can format collaboration symbol properties in the Symbol Properties dialog. You can specify collaboration properties in the collaboration Specification window. In the same window, you can find the description of each property. Descriptions are presented in the description area of the Specification window. |