Introduction to Unified Modeling Language (UML)

Slides:



Advertisements
Similar presentations
Unified Modeling Language
Advertisements

UML: An Introduction.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
Unified Modeling Language (UML) Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
CS 501: Software Engineering Fall 2000 Lecture 11 Object-Oriented Design I.
Kari R. Schougaard, PhD Stud. Værktøjer og Teknikker, 2006 UNIVERSITY OF AARHUS Department of Computer Science Unified Modeling Language Visual language.
© Copyright Eliyahu Brutman Programming Techniques Course.
Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 1 Software Engineering September 5, 2001 Introduction.
Unified Modeling Language (UML)
1 CS 501 Spring 2002 CS 501: Software Engineering Lecture 16 Object Oriented Design I.
The definition and history of creating the UML Lection №1.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
Introduction to the Unified Modeling Language “The act of drawing a diagram does not constitute analysis or design. … Still, having a well-defined and.
Unified Modeling Language, Version 2.0
Software Engineering Prof. Ing. Ivo Vondrak, CSc. Dept. of Computer Science Technical University of Ostrava
Unified Modeling Language* Keng Siau University of Nebraska-Lincoln *Adapted from “Software Architecture and the UML” by Grady Booch.
16 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 7 Unified Modeling Language.
L6-S1 UML Overview 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
1 Introduction to UML. 2 What is UML? UML is an acronym for Unified Modeling Language. Unified –Combines the best from existing object- oriented software.
 What is Modeling What is Modeling  Why do we Model Why do we Model  Models in OMT Models in OMT  Principles of Modeling Principles of Modeling 
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
1 The Unified Modeling Language. 2 The Unified Modeling Language (UML) is a standard language for writing software blueprints. The UML may be used to.
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
Unified Modeling Language. Object Oriented Methods ► What are object-oriented (OO) methods?  OO methods provide a set of techniques for analyzing, decomposing,
Design Model Lecture p6 T120B pavasario sem.
Unified Modelling Language (UML) Software Engineering Lab. Sharif University of Technology.
CIM LAB MEETING Presentation on UML Rakesh Mopidevi Kwangyeol Ryu.
Software Engineering Lecture 8 Object-Oriented Analysis.
 Building Block Building Block  Things in the UML Things in the UML  Structural Things Structural Things  Behavioral Things Behavioral Things  Grouping.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Week 04 Object Oriented Analysis and Designing. What is a model? A model is quicker and easier to build A model can be used in simulations, to learn more.
Object Oriented Analysis and Design Introduction to Rational Rose.
Rational Rose For System Design What is Rational Rose? Rational Rose is the visual modeling software solution that lets you create, analyze, design,
Introduction to UML Hazleen Aris Software Eng. Dept., College of IT, UNITEN. …Unified Modeling Language.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
CS 501: Software Engineering Fall 1999 Lecture 15 Object-Oriented Design I.
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.
SWE 214 (071) Introduction to UML Slide 1 Introduction to UML.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 14 Slide 1 Object-Oriented Design.
UML (Unified Modeling Language)
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
M. ARIFUR RAHMAN OBJECT ORIENTED ANALYSIS & DESIGN 1.0 System Modeling.
Introduction to UML.
Unified Modeling Language (UML)
UML(Unified Modeling Language)
UML Diagrams By Daniel Damaris Novarianto S..
Evolution of UML.
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Object-Oriented Modeling with UML
Object-Oriented Techniques
Systems Analysis and Design With UML 2
Unified Modeling Language
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
Chapter 2, Modeling with UML
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Software Architecture & Design Pattern
Introduction to Object Oriented Analysis, Design and Unified Modeling Language (UML) Shanika Karunasekera.
Introduction to UML.
The Unified Modeling Language
Object Oriented Analysis and Design
Unified Modeling Language
Introduction to UML.
Software Design Lecture : 15.
Uml diagrams In ooad.
CS 501: Software Engineering
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:

Introduction to Unified Modeling Language (UML) CEN 4010 Class 4 – 09/08 Introduction to Unified Modeling Language (UML) Review - Class 4 Overview of UML1 Diagrams use case class sequence Note: See example use case on the course home page.

Overview of UML UML is a notation unifying OMT (Object Modeling Technique – Rumbaugh et al, 1991), Booch (Booch, 1994), and OOSE (Object-Oriented Software Engineering – Jacobson et al. 1992). The Unified Modeling Language (UML) is a standard language for writing software blueprints. The UML maybe used to visualize, specify, construct, and document the artifacts of a software-intensive system. (Booch et al. 1999) CEN 4010 Class 4 - 09/08

Overview of UML cont UML is appropriate for modeling systems ranging from enterprise information systems to distributed Web-based applications and even to hard real time embedded systems. UML is very expressive. UML is a language for: Visualizing Specifying Constructing Documenting CEN 4010 Class 4 - 09/08

Overview of UML cont Language – provides a vocabulary and rules for combining words in the vocabulary for the purpose of communication. Visualizing – each symbol in the UML notation represents well defined semantics. UML can represent models unambiguously. Specifying – UML is used to specify models i.e., build models that are precise, unambiguous, and complete. CEN 4010 Class 4 - 09/08

Overview of UML cont Constructing – UML models can be mapped to entities in programming languages (PLs) e.g., C++, Java, or Visual Basic. Note, entities in PLs can also be reverse engineered to produce UML models. Documenting – UML can be used to document artifacts produced at each stage of the software process. For example, use case diagrams during requirements analysis. CEN 4010 Class 4 - 09/08

Overview of UML cont Building blocks of UML Things Relationships Diagrams There are four kinds of things in UML: Structural Behavioral Grouping Annotational CEN 4010 Class 4 - 09/08

Overview of UML cont Structural – the nouns of UML models e.g., a class. Behavioral – dynamic parts of UML i.e., the verbs of the model representing behavior over time and space. Grouping – the organizational parts of UML models e.g., packages, namespaces. Annotational – explanatory parts of UML models e.g., a note. CEN 4010 Class 4 - 09/08

Overview of UML cont There are four kinds of relationships in UML: Dependency Association Generalization Realization Dependency (between two things) – a change to one thing may affect the semantics of the other thing. Association – describes links i.e., a connection among objects. CEN 4010 Class 4 - 09/08

Overview of UML cont Generalization (specialization/generalization) – objects of a specialized element (the child) are substitutable for objects of the generalized element (the parent). Realization – a semantic relationship between classifiers, i.e., a classifier (interface) specifies a contract to be carried out by another classifier (class). CEN 4010 Class 4 - 09/08

Diagrams in UML A diagram is a graphical representation of a set of elements, most often rendered as a connected graph of vertices (things) and arcs (relationships). Diagrams in UML Class Object Component Deployment Static view of system CEN 4010 Class 4 - 09/08

Diagrams in UML cont Diagrams in UML cont Use case Sequence Collaboration Statechart Activity A use case diagram shows a set of use cases and actors (a special kind of class) and their relationships. Recall, a use case describes a function provided by the system from an external point of view. Dynamic view of system CEN 4010 Class 4 - 09/08

Example of Use Case Diagram SimpleWatch WatchUser ReadTime SetTime WatchRepairPerson ChangeBattery Use case diagram describing the functionality of a simple watch. CEN 4010 Class 4 - 09/08

Use Case Diagram cont. The identification of actors and use cases results in the definition of the boundary of the system i.e., identify tasks accomplished by system and tasks accomplished by environment. Actors are outside the boundary of the system. Use cases are inside the boundary of the system. CEN 4010 Class 4 - 09/08

Class Diagram A class diagram describes the system in terms of classes, attributes (data items, instance variables), operations (member functions, methods) and their relationships. An attribute is a named property of a class that describes a range of values that instances of the property may hold. An operation is the implementation of a service that can be requested from any object of the class to affect behavior. CEN 4010 Class 4 - 09/08

Example of Class Diagram SimpleWatch 1 1 1 1 2 2 1 1 PushButton Display Battery Time Details of the Time class Class Structure <class name> <attributes> <operations> CEN 4010 Class 4 - 09/08

Sequence Diagrams Interaction diagrams – sequence and collaboration diagrams. An interaction diagram shows an interaction, consisting of a set of objects and their relationships, including the messages that may be dispatched among them. A sequence diagram is an interaction diagram that emphasizes the time-ordering of messages. CEN 4010 Class 4 - 09/08

Example of a Sequence Diagram Set_minutes use case CEN 4010 Class 4 - 09/08

UML Tools Demonstration of Rational Rose Use Case Stuff CEN 4010 Class 4 - 09/08