ibm Rational Rhapsody 7.5 — Object model diagram drawing tools

Object model diagrams In this diagram, the thick sidebars on the Dishwasher class denote that it is the active class. You can specify and edit operations and attributes directly within class and object boxes. Simply highlight the appropriate element to make it active, then type in your changes. To open the Features window for a given attribute or operation, just double-click the element within the compartment. Note To add a new operation or attribute, press the Insert key when the appropriate compartment is active. Object model diagram elements The following sections describe how to use the object model diagram drawing tools to draw the parts of an object model diagram.

For basic information on diagrams, including how to create, open, and delete them, see Graphic editors . Object model diagram drawing tools The Diagram Tools for an object model diagram includes the following tools: 530 User Guide Drawing Tool Button Name Description Select A pointing tool to identify parts of the diagram requiring changes or additions. Object A structural building block of a system. Objects form a cohesive unit of state (data) and services (behavior). Every object has a public part and an private part. For more information, see Objects. Class Defines properties that are common to all objects of that type. For more information, see Creating classes.

Composite class A container class. You can create objects and relations inside a composite class. For more information, see Creating composite classes. Package A group of classes. For more information, see Creating a package. File Available only in Rational Rhapsody in C has an additional icon. Use it to create file model elements. A file is a graphical representation of a header (.h) or code (.c) source file. For more information, see Files. Port Draws connection points among objects and their environments. Inheritance Shows the relationship between a derived class and its parent.