Chapter 9 Working with Object-Oriented Models


Linking a class to an object node

You can drag a class from the Browser and drop it into an activity diagram to create an object node (and an object) linked to the class.

Steps To link a class to an object node:

  1. Drag a class from the Browser and drop it into an open activity diagram.

This automatically creates an object node in the Browser and an object node symbol in the activity diagram, which carries the name of the classifier.

For example, dragging and dropping the class Invoice from the Browser onto an activity diagram, automatically creates an object node Invoice in the Browser:


The following object node symbol is created in the activity diagram:


For more information about object nodes, see "Object Nodes (OOM)" in the Building Dynamic Diagrams chapter.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.