Presentation is loading. Please wait.

Presentation is loading. Please wait.

4. Modelling the Applications - II

Similar presentations


Presentation on theme: "4. Modelling the Applications - II"— Presentation transcript:

1 4. Modelling the Applications - II
SWE SOFTWARE PROCESS MODELING - AMAN QUADRI

2 SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI
… Continuation (lab 3) Coverage: Sequence diagram and communication diagram Phonebook Model SWE SOFTWARE PROCESS MODELING - AMAN QUADRI

3 SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI
Sequence Diagram In Rational Software Architect's Model Explorer view, right-click Phone Book UML Model and select Add Diagram > Sequence Diagram. Replace the default name SequenceDiagram1. Drag the actor “User” from the Model Explorer view to the diagram to create an instance of the actor. Similarly Drag the following in the sequence canvas: PhoneBookView PhoneBookController PhoneBook Model SWE SOFTWARE PROCESS MODELING - AMAN QUADRI

4 SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI
Sequence Diagram Communication: Search an Entry Click the line under any User, hold the mouse click, and then release the mouse click at the line under phoneBookView, select Asynchronous message in the palette. Select the operation PhoneBookView::getUserInput() from the drop-down list, as shown. SWE SOFTWARE PROCESS MODELING - AMAN QUADRI

5 Sequence the Communication
From To Operation phoneBookView phoneBookController userHasInput() phoneBookModel searchEntry() PhoneBookController setState() stateHasChanged() getSearchResult() changeView() *To create an asynchronous message to call itself, simply click the instance bar directly without any dragging. SWE SOFTWARE PROCESS MODELING - AMAN QUADRI

6 SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI
Lab Activity Create the Use case, Class and Sequence Diagrams for the following description using MVC methodology Tetra Airlines wants a simple application for their customers which has the following functionality: User should be able to book and search for flights For Sequence Diagram: Demonstrate the communication for search flights SWE SOFTWARE PROCESS MODELING - AMAN QUADRI


Download ppt "4. Modelling the Applications - II"

Similar presentations


Ads by Google