The main concepts for object approaches and UML



Similar documents
Object Modeling with UML

Business Modeling with UML

How To Design Software

IRA 423/08. Designing the SRT control software: Notes to the UML schemes. Andrea Orlati 1 Simona Righini 2

A UML Introduction Tutorial

3C05: Unified Software Development Process

Designing Real-Time and Embedded Systems with the COMET/UML method

Modeling Web Applications Using Java And XML Related Technologies

CHAPTER_3 SOFTWARE ENGINEERING (PROCESS MODELS)

UML Tutorial: Part 1 -- Class Diagrams.

Chapter 3 Chapter 3 Service-Oriented Computing and SOA Lecture Note

Application of UML in Real-Time Embedded Systems

The Unified Software Development Process

PROCESS-DRIVEN SOFTWARE DEVELOPMENT METHODOLOGY FOR ENTERPRISE INFORMATION SYSTEM

Note concernant votre accord de souscription au service «Trusted Certificate Service» (TCS)

UML other structural. diagrams. (Implementation Diagrams UML 1.5) Università di Padova. Facoltà di Scienze MM.FF.NN. Informatica - anno

Change Management: Modeling Software Product Lines Evolution

IES - Introduction to Software Engineering

I219 Software Design Methodology

Incorporating Aspects into the UML

Information systems modelling UML and service description languages

A UML Documentation for an Elevator System. Distributed Embedded Systems, Fall 2000 PhD Project Report

A SYSTEMATIC APPROACH FOR COMPONENT-BASED SOFTWARE DEVELOPMENT

System Requirements Orion

Towards an Integration of Business Process Modeling and Object-Oriented Software Development

Menouer Boubekeur, Gregory Provan

Sun Management Center Change Manager Release Notes

Principles and Software Realization of a Multimedia Course on Theoretical Electrical Engineering Based on Enterprise Technology

Course Computer Science Academic year 2012/2013 Subject Software Engineering II ECTS 6

Rational Unified Process for Systems Engineering RUP SE1.1. A Rational Software White Paper TP 165A, 5/02

Using UML Part Two Behavioral Modeling Diagrams

UML SUPPORTED SOFTWARE DESIGN

Solaris 10 Documentation README

Transportation Process of Containers BPMN-Modeling and Transformation into ACTIF Model

Design Pattern for the Adaptive Scheduling of Real-Time Tasks with Multiple Versions in RTSJ

UML: Unified Modeling Language

Specification of the UFT Web-Based Fitness Tracking Software

The BPM to UML activity diagram transformation using XSLT

Sun StorEdge A5000 Installation Guide

Business Process Modeling Notation

Mapping from Business Processes to Requirements Specification

Expressing dynamic properties of static diagrams in Z

How To Download Openoffice 40 Manual And User Guide

Level 2 French, 2014

Applying Use Cases to Microcontroller Code Development. Chris Gilbert Cypress Semiconductor

Aspect Oriented Strategy to model the Examination Management Systems

openoffice impress 3 guide

openoffice 32 manual : The User's Guide

Interfaces de programmation pour les composants de la solution LiveCycle ES (juillet 2008)

Systematization of Requirements Definition for Software Development Processes with a Business Modeling Architecture

Diagramming Techniques:

Model Transformations and Code Generation

Software Engineering (CS550)

AADL et la conception des logiciels

Tool Support for Software Variability Management and Product Derivation in Software Product Lines

SOFTWARE PROCESS MODELS

Office of the Auditor General / Bureau du vérificateur général FOLLOW-UP TO THE 2010 AUDIT OF COMPRESSED WORK WEEK AGREEMENTS 2012 SUIVI DE LA

openoffice impress manual : The User's Guide

II. Conceptual Modeling

2. Analysis, Design and Implementation

Sun Management Center 3.6 Version 5 Add-On Software Release Notes

Etudes de cas en OCL avec l outil USE 2

READ AND FOLLOW ALL SAFETY INSTRUCTIONS 1. DANGER RISK OF SHOCK DISCONNECT POWER BEFORE INSTALLATION

Planification de mouvement

Types of UML Diagram. UML Diagrams OOAD. Computer Engineering Sem -IV

Upgrading the Solaris PC NetLink Software

Génie Logiciel et Gestion de Projets. Software Requirements Engineering

Business Process Modelling Notation A tutorial

UML basics: An introduction to the Unified Modeling Language

Personnalisez votre intérieur avec les revêtements imprimés ALYOS design

openoffice impress manual

The W-MODEL Strengthening the Bond Between Development and Test

Modeling the User Interface of Web Applications with UML

Proposition d intervention

Programming Language Constructs as Basis for Software Architectures

SysML Modelling Language explained

DESIGN & PROTOTYPAGE. ! James Eagan james.eagan@telecom-paristech.fr

Home Appliance Control System

The Business Process Model

Archived Content. Contenu archivé

Audit de sécurité avec Backtrack 5

PROJECT MANAGEMENT METHODOLOGY OF OBJECT- ORIENTED SOFTWARE DEVELOPMENT

Sun Enterprise Optional Power Sequencer Installation Guide

General Certificate of Education Advanced Level Examination June 2012

Service Level Definitions and Interactions

Análisis, diseño y construcción de Software

Detection of water leakage using laser images from 3D laser scanning data

Archived Content. Contenu archivé

Transcription:

The main concepts for object approaches and UML Part 2 : The dynamical models UML - P. Bommel, J.P. Müller, M. Belem 1 The dynamical models To understand and describe the behaviours of the objects and their interactions Three types of representations State chart diagrams (internal dynamics) Activity diagrams (intra and inter object dynamics) Interaction diagrams (interaction dynamics) Sequence diagrams Collaboration diagrams UML - P. Bommel, J.P. Müller, M. Belem 2

Content State chart diagrams Activity diagrams Interaction diagrams Sequence diagrams Collaboration diagrams Conclusion UML - P. Bommel, J.P. Müller, M. Belem 3 Content State chart diagrams Activity diagrams Interaction diagrams Sequence diagrams Collaboration diagrams Conclusion UML - P. Bommel, J.P. Müller, M. Belem 4

State chart diagrams Objective : To describe the life cycle of an object Elements : State of an object Values of its attributes and links An object change its state over time Transition Events (action of an object onto another) Guard (conditions) Actions UML - P. Bommel, J.P. Müller, M. Belem 5 State chart diagrams A Un state état Initial Etat initial state Transitions Transitions Etat Final final state A transition is due to an event State 1 do : Activity 1 Event 1 [Cond1] / Action1 stimulus State 2 faire : Activity 2 UML - P. Bommel, J.P. Müller, M. Belem 6

Examples Heater State : stop T < 15 C State : heat Life cycle work change changement de travail hire embauche en formation formation reconversion conversion hire embauche actif active licenciem ent chomeur fire unemployed age limit limite d'âge age limit limite d'âge retraite retired UML - P. Bommel, J.P. Müller, M. Belem 7 Example: plot UML - P. Bommel, J.P. Müller, M. Belem 8

The actions For the transitions State A Event( arg1,... )[ condition ] / link.sendevent(arg1,...) State B For the states UML - P. Bommel, J.P. Müller, M. Belem 9 Super states États d un feu tricolore Etats d une machine à laver UML - P. Bommel, J.P. Müller, M. Belem10

Parallelism T and U in parallel Event E1 dispatched to T and U S U X T V E3 E1 E2 Y E4[ in Z ] W E1 Z UML - P. Bommel, J.P. Müller, M. Belem11 Content State chart diagrams Activity diagrams Interaction diagrams Sequence diagrams Collaboration diagrams Conclusion UML - P. Bommel, J.P. Müller, M. Belem12

Activity diagrams Objective: To describe the activities and their ordering Can be used for the internal behaviour of an object the concrete functioning of a behaviour the control ordering between activities spread among a set of objects UML - P. Bommel, J.P. Müller, M. Belem13 Activity diagrams the elements Activities activity Od Order between activities iti En fait ces diagrammes peuvent être vus comme une forme simplifiée des diagrammes d'états - transitions state1 activity event Initial and final pseudo activities Decision and synchronisation points Object flows (petri nets, etc.) state2 UML - P. Bommel, J.P. Müller, M. Belem14

Notations An activity is an action An Un activity état Initial Etat initial time Transitions Transitions Etat final Final time A link is a sequencing of activities UML - P. Bommel, J.P. Müller, M. Belem15 Activity diagram: life cycle naître croître se reproduire mourir UML - P. Bommel, J.P. Müller, M. Belem16

Other notations activ-1 activ-2 decision point activ-3 [ condition-1 ] [ condition-2 ] activ-4 activ-5 activ-6 activ-7 synchronisation points activ-8 UML - P. Bommel, J.P. Müller, M. Belem17 The swimlanes NewSwimlane Ne wswim lane2 NewSwimlane3 activ-1 activ-2 activ-3 [ condition-1 ] [ condition-2 ] activ-4 QuickTime et un décompresseur TIFF (LZW) sont requis pour visionner cette image. activ-5 activ-6 activ-7 activ-8 UML - P. Bommel, J.P. Müller, M. Belem18

Example: farmer activities UML - P. Bommel, J.P. Müller, M. Belem19 Content State chart diagrams Activity diagrams Interaction diagrams Sequence diagrams Collaboration diagrams Conclusion UML - P. Bommel, J.P. Müller, M. Belem20

Sequence diagrams :A M1 :B :C M2 M3 M4 M5 M6 UML - P. Bommel, J.P. Müller, M. Belem21 Collaboration diagrams :A 1: M1 :B 4: M4 2: M2 5: M5 :C 6: M6 message 3: M3 UML - P. Bommel, J.P. Müller, M. Belem22

Sequence diagrams The life line «create» Creation by an external object :C1 op Activation of an object Receiving the event «op» «destroy» Deletion by an external object UML - P. Bommel, J.P. Müller, M. Belem23 Sequence diagrams Interaction types synchronous: asynchronous: reflexive: constructive: :Ca destructive: alternative: [X]mess. [non X]mess. loops: *[X]mess. UML - P. Bommel, J.P. Müller, M. Belem24

Content State chart diagrams Activity diagrams Interaction diagrams Sequence diagrams Collaboration diagrams Conclusion UML - P. Bommel, J.P. Müller, M. Belem25 UML: Conclusion A tool for dialog : A language to represent models Graphical and simple Formal and nomalized (OMG) An open tool Independent of the implementation It is a language, not a process Adaptable (stereotypes) UML - P. Bommel, J.P. Müller, M. Belem26

UML books (1) Booch Grady, Rumbaugh James, and Jacobson Ivar, The Unified Modeling Language g User Guide, 0-201-57168-4, Addison Wesley, Fall 1998, Jacobson Ivar, Booch Grady and Rumbaugh James, The Unified Software Development Process, 0-201-57169-2, Addison Wesley, Fall 1998, Rumbaugh James, Jacobson Ivar, and Booch Grady, The Unified Modeling Language Reference Manual, 0-201- 30998-X, Addison Wesley, Fall 1998 UML - P. Bommel, J.P. Müller, M. Belem27 UML books (2) Conallen Jim, Concevoir des applications Web avec UML, Eyrolles, 2000. Douglass Bruce Powell, Doing Hard Time : Developping Real-Time Systems with UML, Addison Wesley, 1999. Eriksson, UML Toolkit, Wiley, 1997 Fowler Martin, UML Distilled, Applying the Standard Object Modeling Language Addison Wesley, 1997 Kettany Net al, De Merise à UML,Eyrolles, 1998 Larman Craig, Applying UML and Patterns,Prentice Hall, 1998 Lee R, Tepfenhart W, UML et C++, Simon et Schuste, 1998 Lopez N, Intégrer UML dans vos projets, Eyrolles, 1997 Muller Pierre-Alain, Modélisation objet avec UML, Eyrolles, 1997 Roques Pascal, Vallée Franck, UML en action, Eyrolles, 2000. Roques Pascal, UML par la pratique, Eyrolles, 2001. Schmuller Joseph, Teach Yourself UML in 24 Hours, Sams Publishing, 1999 Texel Williams, Uses cases combined with Booch/OMT/UML, Prentice Hall, 1998 UML - P. Bommel, J.P. Müller, M. Belem28