Introduction to Rational Rhapsody UML diagrams The UML specification includes the following diagrams: Љ Use case diagram shows typical interactions between the system being designed and external users or actors. Rational Rhapsody can generate code for actors in use case diagrams to be used for testing a model. Љ Object model diagram shows the static structure of a system: the objects in the system and their associations and operations, and the relationships between classes and any constraints on those relationships. Љ Sequence diagram shows the message flow of objects over time for a particular scenario.
Љ Collaboration diagram provides the same information as a sequence diagram but emphasizes structure, whereas a sequence diagram emphasizes time. Љ Statechart defines all the states that an object can occupy and the messages or events that cause the transition of the object from one state to another. Љ Activity diagram specifies a workflow or process for classes, use cases, and operations. Activity diagrams provide similar information to statecharts, but are better for linear step-by-step processes, whereas statecharts are better suited for non-linear or event-driven processes. Љ Component diagram describes the organization of the software units and the dependencies among these units.
Љ Deployment diagram depicts the nodes in the final system architecture and the connections between them. Nodes include processors that execute software components, and the devices that those components control. Љ Structure diagram models the structure of a composite class; any class or object that has an OMD can have a structure diagram. Object model diagrams focus more on the specification of classes, whereas structure diagrams focus on the objects used in the model. In addition, a Flow Chart is available in the Rational Rhapsody product. You can use a flow chart to describe a function or class operation and for code generation . 4 User Guide