They have co-authored the book Teach Yourself BEA WebLogic Server 7.0 in 21 Days (Sams Publishing, Oct. Tiwari are the co-founders of Novusware, Inc. Chitnis, Lakshmi Ananthamurthy, and Pravin S. Now, let us model these steps into a Sequence diagram for the “Manage course information” functionality. Finally, the user invokes the assign tutor to course functionality of the course administrator to assign a tutor to the selected course.After the course is either created or modified, the manage topic functionality of the course administrator calls the topic creation or modification functionality of a topic.The manage course functionality of the course administrator invokes either the course creation or course modification functionality of a course.A user who is a course administrator invokes the manage course functionality.The sequence of steps carried out in the “Manage course information” flow are: Apart from this, there are a few entities with which the course administrator interacts in this flow-Course, Topic, and Tutor. The “Manage course information” flow contains one participant: the Course Administrator. Identifying the activities and transitions for managing course information Now, we will combine the flow defined by the use cases and the classes involved in the use cases together to represent the different flows in the Courseware Management System.Īs an example, we will represent the “Manage course information” flow using a Sequence diagram. In Article 3, we had defined the following use cases for the Courseware Management System:įor these use cases, we had modeled the classes and interfaces using the class diagram in Article 4 (parts 1 and 2). Because a Sequence diagram represents the dynamic flows in an application, we will aim to represent one of the flows using a Sequence diagram. Armed with this knowledge, we will proceed to design a Sequence diagram for our Courseware Management System case study application. Case Study-Courseware Management Systemįrom the discussion in the previous section, we are clear on the different notations that are used in Sequence diagrams. The screen shot of the Poseidon tool in Figure 8.2 shows the different options to model Sequence diagrams and define interactions between objects participating in these interactions. We shall discuss each of these elements in the next section:įigure 8.2: a screen shot of the Poseidon tool. A skeleton sequence diagram is shown in Figure 8.1. Objects are represented exactly how they have been represented in all UML diagrams-as rectangles with the underlined class name within the rectangle. Defining a Sequence diagramĪ sequence diagram is made up of objects and messages. ![]() Hence, the Sequence diagram is one of the most widely used dynamic diagrams in UML. On the horizontal axis, it shows the life of the object that it represents, while on the vertical axis, it shows the sequence of the creation or invocation of these objects.īecause it uses class name and object name references, the Sequence diagram is very useful in elaborating and detailing the dynamic design and the sequence and origin of invocation of objects. This makes the Sequence diagram a very useful tool to easily represent the dynamic behavior of a system.Ī Sequence diagram is two-dimensional in nature. The invocation of methods in each object, and the order in which the invocation occurs is captured in a Sequence diagram. BasicsĪ Sequence diagram depicts the sequence of actions that occur in a system. By the end of this article, you will know what a Sequence diagram is, what its elements are, and, you will be able to create Sequence diagrams for your system. One of the most widely used dynamic diagrams in UML is the Sequence diagram, which is the topic of our discussion today. We then made an Activity diagram for a specific scenario in our Courseware Management system. In the last article, we saw Activity diagrams, the notations to be used in Activity diagrams, their significance, and how to build an Activity diagram.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |