CSE301 University of Sunderland Harry R Erwin, PhD

Slides:



Advertisements
Similar presentations
UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
Advertisements

A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
Object-Oriented Analysis and Design
©Ian Sommerville 2000Software Engineering, 6/e, Chapter 71 System models l Abstract descriptions of systems whose requirements are being analysed.
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
© Copyright Eliyahu Brutman Programming Techniques Course.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
UML. Overview of UML Diagrams Structural : element of spec. irrespective of time Class Component Deployment Object Composite structure Package Behavioral.
Unified Modeling Language
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
UML Diagrams Computer Science I.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions of systems whose requirements are being.
Chapter 4 System Models A description of the various models that can be used to specify software systems.
System models Abstract descriptions of systems whose requirements are being analysed Abstract descriptions of systems whose requirements are being analysed.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,
Unified Modeling Language, Version 2.0
Systems Analysis and Design in a Changing World, Fifth Edition
©Ian Sommerville 1995/2000 (Modified by Spiros Mancoridis 1999) Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions.
Slide 1 System models. Slide 2 Objectives l To explain why the context of a system should be modelled as part of the RE process l To describe behavioural.
System models l Abstract descriptions of systems whose requirements are being analysed.
Modified by Juan M. Gomez Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
1 Devon M. Simmonds University of North Carolina, Wilmington CSC450 Software Engineering WorkFlow Modeling with Activity Diagrams.
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
Chapter 5 Models and UML Notation for The Object-Oriented Approach.
Real Time Systems Modeling Structure in UML (Part I)
Programming Logic and Design Fourth Edition, Comprehensive Chapter 15 System Modeling with the UML.
Actors and Use Case Diagrams Month Day, Year. Agenda Training Plan Overview Review Detailing Requirements with Requisite Pro Concepts Setting Up XDE Integration.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 15 The Unified Modeling Language: a Primer.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
1 Unified Modeling Language, Version 2.0 Chapter 2.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,
7-1 © Prentice Hall, 2007 Topic 7: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Analysis Yaodong Bi. Introduction to Analysis Purposes of Analysis – Resolve issues related to interference, concurrency, and conflicts among use cases.
Chapter 3: Introducing the UML
 To explain why the context of a system should be modelled as part of the RE process  To describe behavioural modelling, data modelling and object modelling.
Gerhard Dueck -- CS3013Analysis 1. Gerhard Dueck -- CS3013Analysis 2 Why analysis?  Yield a more precise specification of the requirements.  Introduce.
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
Diagrams. Typically, we view the static parts of a system using one of the four following diagrams. 1. Class diagram 2. Object diagram 3. Component diagram.
Use Case, Component and Deployment Diagrams University of Sunderland.
Basic Characteristics of Object-Oriented Systems
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
UML (Unified Modeling Language)
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Introduction to UML.
Systems Analysis and Design in a Changing World, Fourth Edition
Analysis Classes Unit 5.
UML Diagrams By Daniel Damaris Novarianto S..
The Movement To Objects
Object-Oriented Analysis and Design
Systems Analysis and Design With UML 2
Unified Modeling Language
Communication DIAGRAM
UML Diagrams Jung Woo.
Abstract descriptions of systems whose requirements are being analysed
The Process of Object Modeling
University of Houston-Clear Lake
Communication DIAGRAM
Software Analysis.
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Presentation transcript:

CSE301 University of Sunderland Harry R Erwin, PhD UML-2 Changes CSE301 University of Sunderland Harry R Erwin, PhD

Resources Eriksson, H-E., et al., 2004, UML 2 Toolkit, OMG Press, Wiley. Pilone, D., with Neil Pitman, 2005, UML 2.0 in a Nutshell, O’Reilly. http://www.uml.org/ http://www.agilemodeling.com/ http://en.wikipedia.org/wiki/Unified_Modeling_Language http://www.eclipse.org/modeling/mdt/?project=uml2

Major Changes in UML 2 Use Cases Activity Diagrams State Machine Diagrams Sequence Diagrams Communication Diagrams Interaction Overview Diagrams Timing Diagrams

A UML 2 Use-Case Diagram Personnel Intelligence Operations Logistics G1 Section Personnel G2 Section Intelligence Commander CoS G3 Section Operations G4 Section Logistics

More Details in Use Cases Extension case Actor Generalization <<extend>> Direction of the interaction General Case <<extension points>> Detailed case <<include>> Included Use Case Use Case Generalization

Use Case Details Description still usually textual. Use cases are initiated by actors and provide value to them. Use cases should be complete. Use activity diagrams to clarify the flow. Use cases can be: Generalized (new) Extended Included (was ‘used’)

New UML 2 Class Diagrams An Entity Class An Entity Class An Entity Control Class <<control>> A Control Class A Control Class A Boundary Class <<boundary>> A Boundary Class A Boundary Class

Interfaces and Ports Storable Runnable Interface Provided Port Required Interface

Diagramming Composite Structures

Collaboration Use Case Represents a dynamic use case Name Name

Implementing Attributes in a Model Attribute Type UML Type Java I/F Inline or relationship As noted Object Count Array Unordered/dups Bag Collection Ordered/dups Sequence List Unordered/uniq Set Ordered/uniq OrderedSet SortedSet

Templates ElementType Type

Packages Name Package Name

UML 2 Activity Diagrams Describes a sequential flow of actions. In some ways similar to a state machine, but now a first-class construct. Can be used to diagram general process workflows, use cases, and detailed control flows. Very valuable when you model a business. Based on Petri Nets (qv). Resembles old-fashioned flow charts, but often contain swim-lanes, called activity partitions, that describe what specific classes or subsystems do.

UML 2 Activity Diagram Changes No longer emphasizes transitions (as a super state machine diagram). More concerned with token flow along activity edges.

Activity Diagram Appearence Also used for interaction overview diagrams Name Name Final Node Initial Node

UML 2 State Machine Diagrams Used only when a class or subsystem changes its behaviour. A complement to a class or object diagram. Two kinds of state machines: A behavioural state machine describing the life cycle of a class or subsystem. Typically, the class or subsystem contains a polymorphic reference whose current subclass instance defines the behaviour. A protocol state machine documenting the protocol for other subsystems to interact with an interface or port. (This is the traditional role of a state machine.)

UML 2 Sequence Diagrams Describe how multiple classes or subsystems interact dynamically via message passing. Similar in some ways to activity diagrams, but emphasize the messages. Most commonly used interaction diagram. Often derived from Use Case Analysis (just like activity diagrams). Usually contain vertical swim-lanes, each corresponding to an individual object/actor. Messages are shown passing between swim-lanes.

UML Sequence Diagram Changes Now has ‘fragments’ allowing more complex options to be diagrammed. Also supports reuse of elements.

UML 2 Communication Diagrams Were called Collaboration Diagrams in UML 1. Show the messages and the objects in their relationships (the context). Contains the same information as sequence diagrams, but formatted differently. Very useful for analysing class and object diagrams. The full set of communication diagrams for a system should map directly onto the object associations of the system. When this is important to know, use communication diagrams rather than sequence diagrams.

UML 2 Interaction Overview Diagrams Introduced in UML 2. Top-level description of the main flow of interactions. Basically an activity diagram with the main nodes individually documented using separate sequence (or other) diagrams. Major step in user-oriented design.

UML 2 Timing Diagrams Introduced in UML 2. Specialized for real-time systems, using a precise time axis. MSc-level topic.