4. Modelling the Applications - II HTTP://FAC.KSU.EDU.SA/AQUADRI SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI
SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI … Continuation (lab 3) Coverage: Sequence diagram and communication diagram Phonebook Model SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI
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 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI
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 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI
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 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI
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 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI