MADALINA CROITORU Software Engineering week 4 Practical Madalina Croitoru IUT Montpellier
UML A graphical notation Unified Modeling Language Unified the methods of its three principal designers: –Grady Booch –James Rumbaugh –Ivar Jacobson MADALINA CROITORU
UML A visual language for developing software systems Not a programming language The current standard is Two types of diagrams: –Structural modeling: static architecture –Behavioral modeling: interaction 13 (9) types of basic diagram types MADALINA CROITORU
Material for practical session eling_Languagehttp://fr.wikipedia.org/wiki/Unified_Mod eling_Language (french) 63#use-case-diagramhttp://edn.embarcadero.com/article/318 63#use-case-diagram (english) MADALINA CROITORU
Basic Terminology Model: abstraction of the underlying problem Domain: The actual world from which the problem comes Models: Objects that interact by sending each other Messages Objects have Attributes (things they know) and Behaviors/Operations (things they do) MADALINA CROITORU
Use Case Diagrams Describe what a system does from the standpoint of an external observer Is a summary of scenarios for a given task A scenario is an example of what happens when someone interacts with the system An actor: what / who initiated the event involved in the task MADALINA CROITORU
MADALINA CROITORU
Practical exercise Do the Use Case Diagram for the WUMPUS based on your requirements documents! MADALINA CROITORU
Sequence diagram Describes the dynamic interaction How operations are carried out: what messages are sent where and when Organized according to time MADALINA CROITORU
MADALINA CROITORU
Practical exercise Do the Sequence Diagram for the WUMPUS based on your requirements documents and the Use Case Diagram! MADALINA CROITORU
Statechart diagrams Objects have behaviors and states The state of an object depends on its current activity condition A statechart diagram shows the possible states of the object and the transactions that cause a change in state MADALINA CROITORU
MADALINA CROITORU
Practical exercise Do the Statechart Diagram for the WUMPUS based on your requirements documents, the Use Case Diagram and the Sequence Diagram! MADALINA CROITORU