1 www.methoda.com UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.

Slides:



Advertisements
Similar presentations
Modeling Main issues: What do we want to build How do we write this down.
Advertisements

Modeling Main issues: What do we want to build How do we write this down ©2008 John Wiley & Sons Ltd. vliet.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
UML – Class Diagrams.
What is UML? A modeling language standardized by the OMG (Object Management Group), and widely used in OO analysis and design A modeling language is a.
Lecturer: Dr. AJ Bieszczad Chapter 66-1 Object-Oriented analysis and design Special nature of OO development Use cases Design with UML OO system design.
© Copyright Eliyahu Brutman Programming Techniques Course.
Unified Modeling Language
Unified Modeling Language(UML) BY
UML Diagrams Computer Science I.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
ITEC 370 Lecture 10 Design. Review Design –Why is it part of the process? –Who is the audience for design?
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Programming in Java Unit 3. Learning outcome:  LO2:Be able to design Java solutions  LO3:Be able to implement Java solutions Assessment criteria: 
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 15 System Modeling with the UML.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
Fall 2010 CS4310 Requirements Engineering A Brief Review of UML & OO Dr. Guoqiang Hu Department of Computer Science UTEP 1.
UML Diagrams: The Static Model Class Diagrams. The Static Model Define the static structure of the logical model Represent classes, class hierarchies.
An Introduction to the Unified Modeling Language
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
Design Jon Walker. More UML ● What is UML again?
SWT - Diagrammatics Lecture 4/4 - Diagramming in OO Software Development - partB 4-May-2000.
Unified Modeling Language. Object Oriented Methods ► What are object-oriented (OO) methods?  OO methods provide a set of techniques for analyzing, decomposing,
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
Introduction to OOAD and the UML
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
Chapter 3: Introducing the UML
Object-Oriented Software Engineering Practical Software Development using UML and Java Modelling with Classes.
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
UML. Model An abstract representation of a system. Types of model 1.Use case model 2.Domain model 3.Analysis object model 4.Implementation model 5.Test.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
1 IS 0020 Program Design and Software Tools Unified Modeling Language Lecture 13 April 13, 2005.
1 IS 0020 Program Design and Software Tools Unified Modeling Language Lecture 13 November 30, 2004.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Systems Analysis and Design in a Changing World, Fourth Edition
Appendix 3 Object-Oriented Analysis and Design
CHAPTER
UML Diagrams: Class Diagrams The Static Analysis Model
UML Diagrams By Daniel Damaris Novarianto S..
Evolution of UML.
Main issues: • What do we want to build • How do we write this down
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Unified Modeling Language
Introduction to Unified Modeling Language (UML)
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
The Process of Object Modeling
Business System Development
Software Architecture & Design Pattern
UML Diagrams: The Static Model Class Diagrams
אפיון ועיצוב מערכות מוכוון עצמים
Unified Modeling Language
Chapter 20 Object-Oriented Analysis and Design
CIS 375 Bruce R. Maxim UM-Dearborn
IMPORTANT NOTICE TO STUDENTS:
Analysis models and design models
Software Design Lecture : 15.
Software Design Lecture : 14.
Chapter 22 Object-Oriented Systems Analysis and Design and UML
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix 3 Object-Oriented Analysis and Design
Introduction to OOAD and the UML
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
Presentation transcript:

1 UML Basic Training

UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML extensions

UML Basic training3 Definitions  Requirement  A description of the behavior of the system or part of the system (sub-system, component) or a property of it  Design  A representation (model) that describes how something is going to be built “All models are wrong. Some are useful” George Box

UML Basic training4 Types of R&D Engineering Activities SW modeling UML HW modeling VHDL, CAD, … System modeling SysML Requirements definition & management SysML extends UML in order to support all system engineering methodology

UML Basic training5 The Basic Development Process  Requirements  High level (system view)  Review  Detailed (per feature)Use case models  Review  Design  High level (system view)Design models  Detailed (per unit/class/interface)  Code

UML Basic training6 Object Oriented Analysis and Design OOA Model of requirements (user view) OOD Model of design (developer view)

UML Basic training7 UML - Unified Modeling Language  A graphical language for visualizing the structure and behavior of systems and systems parts  Not a methodology. A language  Provides notation (symbols) and meaning (semantics)  Developed by Object Management Group (OMG)  Supported by many tools

UML Basic training8 Diagram Types in UML 1.x  Class, Object, Component  Package  Deployment  Use case  Sequence  Activity  Collaboration  State chart

UML Basic training9 Static and Dynamic Models  Static (structure):  Class, Object, Component  Package  Deployment  Dynamic (behavior):  Use case  Activity  Sequence  Collaboration  State chart

UML Basic training10 Use Case Diagram

UML Basic training11 Use cases (UC)  External view of the system  Expressed in user terms  Use case is used by an actor  Actor is not necessarily human. Can be other systems  Use case can:  > other use case  Each UC is described using an activity diagram or sequence diagram

UML Basic training12 Use Case Documentation  Title (goal)  Short description  Actors  Trigger  Pre-condition  Post-condition  Normal flow (steps)  Using text and/or activity diagrams  Exceptional/alternate flows

UML Basic training13 Activity diagram  Describes logic of flow/process, sequence of actions * (see later SysML extensions for activity diagrams)

UML Basic training14 Class Diagram Generalization Association

UML Basic training15 Class Diagram Terms  Class  Name  Attributes  Operations  Visibility: public (+), Private (-), Protected (#)

UML Basic training16 Class Diagram Terms  Relationships  Dependency  Change to one may cause change to other  Association  Connection exists between classes/objects  Generalization  Abstract classes, inheritance  Aggregation  Model of Whole/Part. Lifetime of whole & part not linked  Composition  Model of Whole/Part. Lifetime of whole & part linked  Multiplicity: m..n, 1, 0..1, *  Indicates how many objects may fill the relation

UML Basic training17 Interfaces  Distinguish between interface and the implementation  Abstract class has one or more operations that are abstract  Interface is a class with only abstract operations *(In SysML “port” is used)

UML Basic training18 Object Diagram  Model specific instances derived from class diagram

UML Basic training19 Package Diagram  Groups UML elements:  By diagram types (other packages, diagrams, classes, etc.)  By system hierarchy (structure): system, sub- systems, etc.  In software: model namespaces in C++ and.NET

UML Basic training20 Sequence Diagram  Describes a set of objects that take part in a flow/sequence  Shows data and behavior in one place  Time line is from top to bottom  Sequence diagrams can refer (ref) to other seq. diagrams, can include alternative (alt) paths, loops and more (not shown in the example).

UML Basic training21 Sequence Diagram

UML Basic training22 Collaboration Diagram  Describes a set of objects that take part in a flow/sequence  Shows data and behavior in one place  Time is expressed by numbers on the association lines

UML Basic training23 Collaboration Diagram

UML Basic training24 State Chart Diagram  Model dynamic aspect of an object, component or a system  Terms:  Initial state  States  Events  Transition activity  Final state

UML Basic training25 Component Diagram  Component is a replaceable SW part of the system that implements a set of interfaces  Components can be used to define also sub- systems *(In SysML “block” is used)

UML Basic training26 Deployment Diagram  Model physical aspect of the system  SysML uses different notation (block diagrams with >)

UML Basic training27 SysML System engineering Modeling Language

UML Basic training28 UML & SysML  UML 2.0 contains many enhancements to support systems engineering (SE)  BUT, It doesn’t satisfy all SE needs  SysML extends UML 2.0  Adopted by Object Management Group in Feb  Not very popular yet

UML Basic training29 UML & SysML UML 2 SysML Not required by SysUML UML reused by SysUML SysUML extensions SysML Extensions: - Blocks - Item flows - Allocations - Requirements - Parametrics - Continuous flows …

UML Basic training30 SysML Diagrams

UML Basic training31 Example of Block Diagrams in SysML  A block element extends the UML Class element  A block can contain properties, ports, operations, etc

UML Basic training32 Example of Block Diagrams in SysML

UML Basic training33 Activity in SysML

UML Basic training34 Activity Diagram in SysML

UML Basic training35 For more info  2_tutorial 2_tutorial  SysML-Tutorial.pdf SysML-Tutorial.pdf

UML Basic training36