SEEM4570 System Design and Implementation. Lecture 10 UML
|
|
- Raymond Matthews
- 5 years ago
- Views:
Transcription
1 SEEM4570 System Design and Implementation Lecture 10 UML
2 Introduction In the previous lecture, we talked about software development life cycle in a conceptual level E.g. we need to write documents, diagrams, etc. But how to write/draw them? Gabriel Fung. 2
3 UML (1) Unified Modeling Language (UML) is a standardized general-purpose modeling language in the field of object-oriented software engineering. The standard is managed, and was created, by OMG. OMG Object Management Group a consortium. UML provides specifications but not implementation. Before a specification can be accepted as a standard by OMG, the team which propose the specification must guarantee they can use the specification to bring a product to a market within 1 year. This prevents un-implementable standard. UML was in the list of OMG adopted technologies in 1997, and also the industry standard for modeling softwareintensive systems Gabriel Fung. 3
4 Side Track About Consortium A consortium is an association of two or more individuals, companies, organizations or governments (or any combination of these entities) with the objective of participating in a common activity or pooling their resources for achieving a common goal. Consortium is a Latin word, meaning "partnership", "association" or "society" Con = "together" Sors = "fate" Consors = "Partner" Gabriel Fung. 4
5 UML (2) UML is used to specify, visualize, modify, construct and document the artifacts of an object-oriented software-intensive system. UML offers a standard way to visualize a system's blueprint. It can be used with all processes, throughout the software development life cycle, and across different implementation technologies Gabriel Fung. 5
6 UML (3) Current version is UML 2.4 It has 14 types of diagrams divided into two categories Each category represents a different view of a model (discuss in the next two slides) Gabriel Fung. 6
7 Structure Diagrams Emphasize the things that must be presented in the system. Used extensively in documenting the software architecture Programmers will find them very useful in writing programs Diagrams Class diagram Object diagram Package diagram Component diagram Composite structure diagram Profile diagram Deployment diagram Gabriel Fung. 7
8 Behavior Diagrams Emphasize what must be happened in the system. Used extensively to describe the functionality of the system System managers and other non-programmers may find them useful in explaining the system Diagrams Activity diagram UML state machine diagram Use case diagram Communication diagram (a kind of interaction diagram) Interaction overview diagram (a kind of interaction diagram) Sequence diagram (a kind of interaction diagram) Timing diagram (a kind of interaction diagram) Gabriel Fung. 8
9 Class Diagram Overview Describes the structure of a system by showing the system's classes, attributes, and relationships among classes In a class diagram, there are many classes. Each class is represented by a box with three parts Top The name of the class Middle The properties/attributes of the class Bottom The methods of the class #, +, are known as visibility (See next slide) Person # name string age int + setname(name string) + getname() + setage(age int) + getage() Gabriel Fung. 9
10 Class Diagram Drawing Visibility used to specify the visibility of the attributes and methods (not mandatory, but usually has) + Public Private # Protected Relationship define the logical relationship among classes Major relationships Bi-directional, Uni-directional, Aggregation, Reflexive, Generalization, Realization Gabriel Fung. 10
11 Bi-Directional Relationship It is called Multiplicity Course name string code string + setname(namestring) + getname() 0..* 0..1 assigned assigned Room location String room int + setlocation(namestring) + getlocation() A classroom can be assigned to 0 to many courses Multiplicity A course can be assigned to 0 or 1 classroom Meaning x..y x to y (x 0, y > 0), e.g. 0..1, 0..2, 2..6, x..* x or more * Zero or more n n only, e.g. 1, 4, 10, Gabriel Fung. 11
12 Uni-Directional Relationship Printer printerid String + setjob(coursecode String) + getname() 0..* print Course coursecode String description String + setname(name String) + getname() In a uni-directional association, two classes are related, but only one class knows that the relationship exists. In this example, only the Printer class knows the existence of the Course class. This modeling allows printers know which courses they are printing, but the courses do not know they are being printed. This loosens the coupling of the objects and therefore makes the system more adaptive to changes Gabriel Fung. 12
13 Uni-Directional Relationship (cont'd) GameRecord GameStage1 GameStage2 MyDB + connect() + disconnect() Gabriel Fung. 13
14 Aggregation / Composition Relationship (1) Building securityguard Person[] 1..* has Person Building has a non-trivial class "Person"! That s why we need to link it back! Note A non-fill diamond indicates the relationship is weak, i.e. even if Building is destroyed, Person (i.e. security guards) will not be destroyed Gabriel Fung. 14
15 Aggregation / Composition Relationship (2) Building listofroom Room[] 1..* has Room Building has another non-trivial class! That s why we need to link it back! Note The diamond is filled, which means Room depends on Building, i.e. if the Building is destroyed, then all Rooms will also be destroyed. This type of strong aggregation is called Composition Gabriel Fung. 15
16 Aggregation / Composition Relationship (3) If necessary, we can have uni-directional relationship for aggregation/composition relationship A B A B Gabriel Fung. 16
17 Reflexive Relationship A room contains some rooms, e.g. RM101 contains RM101A and RM101B Building # name String # listofroom Room[] 1..* has Room # subroom Room 0..* contains Staff 0..* supervises 1 supervisor A kind of reflexive relationship. Again, it can be bi-directional or uni-directional A staff supervises 0 or many staff A staff has one supervisor Gabriel Fung. 17
18 Generalization Relationship Person # name String + getname() Generalization relationship Student studentid String + getgpa() Staff # salary int + getofficelocation() Professor housingallowance int Admin Staff Gabriel Fung. 18
19 Realization Relationship (1) It should contains nothing <<interface>> Person Realization relationship Can only be + or # + getname() Generalization relationship Student studentid String + getname() Staff # salary int + getname() Professor housingallowance int Admin Staff Gabriel Fung. 19
20 Realization Relationship (2) What is realization? Realization is one of the major properties of Object Oriented (OO) modeling, it implements an interface. Don t confuse with GUI (graphical user interface). This interface did nothing with GUI. In OO Programming, if a class is defined as an interface, it does not have any implementation detail. Hence, we need to write the details that are defined in the interface in the implementing classes. In the diagram in the previous slide, we need to write the getname method in the Student Class and Staff Class. It is the responsibility of the program designer to drop down every single implementation issue carefully and clearly in the diagram Gabriel Fung. 20
21 Class Diagram Summary Class A Class A Class A Reflexive Class B Class B Bi-Directional Uni-Directional Class A Class A Class A Class A Class B Class B Class B Class B Aggregation Composition Realization Generalization Gabriel Fung. 21
22 Object Diagram An object diagram in the Unified Modeling Language (UML), is a diagram that shows a complete or partial view of the structure of a modeled system at a specific time. Remember the differences between Class and Object? Object diagrams are more concrete than class diagrams, and are often used to provide examples. An Object diagram focuses on some particular set of object instances and attributes, and the links between the instances Gabriel Fung. 22
23 Object Diagram Example Building # name String # listofroom Room[] 1..* has Room # floor int ERB Building name = ERB listofroom = Vector<Room> has has ERM301 Room Floor 3 ERM401 Room Floor 4 has ERM506 Room Floor Gabriel Fung. 23
24 Object Diagram More Information Object diagrams help clarify classes and inheritance They are useful to demonstrate what would happen in the system at a specific time. Can help non-programmers to understand more about the system as they may find class diagrams are too abstract. May help programmers as well! Unfortunately, UML 2.4 specification provides no definition of object diagram! It does not have a concrete definition of how it should be drawn! Gabriel Fung. 24
25 Package Diagram Describes how a system is split up into logical groupings by showing the dependencies among these groupings. Package is a namespace used to group together elements that are semantically related and might change together. Because package is a namespace, elements (e.g. programs) inside the same package should have unique names. A package can import/access/use other packages. Package can also be merged with other packages Gabriel Fung. 25
26 Package Diagram (cont d) For example, in a Java program package webshoppingcart; import basicwebcomponent; import java.io.*; import... public XXX extends GeneralShoppingCart{ } The name of the package that we created We need to import these packages A package is rendered as a tabbed folder We try to group programs into packages for better resources management. So we also need to tell the programmers how to implement our ideas! Web Shopping Cart Gabriel Fung. 26
27 Notations Import A relationship that shows the model elements in a package which are to be imported from another package and the visibility is public Access A relationship that shows the model elements in a package which are to be imported from another package and the visibility is private, i.e. other packages that merge/import it cannot access the packages it has accessed Note that it may be impossible to implement. Merge A relationship between two packages showing that their contents are to be combined Gabriel Fung. 27
28 Package Diagram Example package Web Shopping Mobile Shopping Mail Shopping <<import>> <<import>> <<merge>> << import >> <<merge>> Inventory Payment << access>> Shopping Cart <<import>> Utility Gabriel Fung. 28
29 Component Diagram Describes how a software system is split up into components and shows the dependencies among these components. Developers find the component diagram useful because it provides them with a high-level, architectural view of the system Although may not be able to implement the system (too abstract), it helps developers formalizing a roadmap for the implementation, and make decisions about task assignments. System administrators find component diagrams useful because they get an early view of the logical software components that will be running on their systems Gabriel Fung. 29
30 Components A Component Services/interface to be provided to other components A Component Services/interface required from other components A Component Services/interface to be provided to other components Services/interface required from other components Gabriel Fung. 30
31 Component Diagram Example OrderProduct Order Product Services Customer Detail Customer Product Code Product Gabriel Fung. 31
32 Composite Structure Diagram Visualizes the internal structure of a class. A kind of component diagram used in modeling a system at micro point-of-view. The key entities are Part A role played at runtime by an object or by a collection of objects Port An interaction point that can be used to connect other parts or the environment. Connector It binds entities together, allowing them to interact at runtime. Collaborator Represents by dotted oval. An abstract idea Gabriel Fung. 32
33 Composite Structure Diagram Example environment Order Product Services part Search book Search CD Search Engine Search port Another Service A port Do Sth Request port Request Product port connector Gabriel Fung. 33
34 Deployment Diagram Describes the hardware used in system implementations and the execution environments and artifacts (e.g. software) deployed on the hardware. Note This is not UML standard components (for illustration purpose only) Gabriel Fung. 34
35 Deployment Diagram Example Gabriel Fung. 35
36 Use Case Diagram Describe a set of actions (use cases) that some systems should or can perform in collaboration with one or more external users (actors). Each use case should provide some observable and valuable result to the user of the system. Used to specify what the system should do but not how the system should do. Major elements of the use case diagram are Actor Association / Relationship Subject / System Use case Gabriel Fung. 36
37 Use Case Diagram Example Consider In a museum, visitors can purchase admission ticket through a clerk. Purchasing admission ticket requires a payment system, which will be connected to a bank. Note that purchasing admission ticket is a kind of help. In the museum, there is a manager who will mange the daily activities of the museum Gabriel Fung. 37
38 Use Case Diagram Example (cont'd) Actor Visitor Association / relationship Ask question Buy Admission Ticket Seek Help <<extend>> <<include>> Payment answer System Clerk Bank Manage Museum Museum Manager Gabriel Fung. 38
39 Use Case Diagram Example (cont'd) Another example In a museum, visitors can purchase admission ticket through a clerk. Purchasing admission ticket requires a payment system, which will be connected to a bank. Note that the visitors can seek help when purchasing admission ticket. In the museum, there is a manager who will mange the daily activities of the museum Gabriel Fung. 39
40 Use Case Diagram Example (cont'd) Note the keyword here also Seek Help answer Visitor Buy Admission Ticket <<include>> <<include>> Clerk $$$ Payment Bank Manage Museum Museum Manager Gabriel Fung. 40
41 Activity Diagram Graphical representations of workflows of stepwise activities and actions with support for choice, iteration and concurrency. Constructed from a limited number of shapes, connected with arrows. Common shapes Rounded rectangles represent activities; Diamonds represent decisions; Bars represent the start (split) or end (join) of concurrent activities; A black circle represents the start (initial state) of the workflow; An encircled black circle represents the end (final state) Gabriel Fung. 41
42 Activity Diagram Example Online shopping dislike Search item found View item Not found like Continue shopping Add to cart Done shopping Check out Gabriel Fung. 42
43 Activity Diagram Example (cont'd) Process Order Payment Problem Receive Order Payment OK Send invoice Ship order Close Order Gabriel Fung. 43
44 State Machine Diagram Describes the states and state transitions of the system Many software systems are event-driven They continuously wait for the occurrence of some external or internal event such as a mouse click, a button press... The response to an event generally depends on the type of the event and the state of the system E.g. if the user want to add an item to the shopping cart, but the shopping cart module is not available (i.e., the state of shopping cart module is down), then the user cannot perform the add item action Gabriel Fung. 44
45 State Machine Diagram Example For example, in an ATM machine, there are three states, Idle, Active and Out of Service State Machine of ATM Shut down Damage Idle Put card Out of Services Fixed Take card Active Gabriel Fung. 45
46 Sequence Diagram Sequence diagram is the most common kind of interaction diagram, which focuses on the message interchange between a number of lifelines. A sequence diagram shows, as parallel vertical lines (lifelines), different processes or objects that live simultaneously, and, as horizontal arrows, the messages exchanged between them, in the order in which they occur. This allows the specification of simple runtime scenarios in a graphical manner Gabriel Fung. 46
47 Sequence Diagram Example A simple online bank about transfer money sd online bank customer bank Transfer Money Response Logout Redirect to Homepage Gabriel Fung. 47
48 Sequence Diagram Example (cont'd) Note that a customer should be able to have multiple transfers! sd online bank customer bank loop Transfer Money Response Logout Redirect to Homepage Gabriel Fung. 48
49 Sequence Diagram Example (cont'd) We also want to add an option to our customers, such that they can input note before making a transfer! loop opt Input reference number Transfer Money Response Gabriel Fung. 49
50 Sequence Diagram Example (cont'd) How about if the customer do not have enough money? We should not make the transfer! loop opt Refer to the previous slide Transfer Money alt [enough money] Transfer OK [not enough money] Transfer fail Gabriel Fung. 50
51 Sequence Diagram of Facebook Gabriel Fung. 51
52 Communication Diagram Represents a combination of information taken from Class, Sequence, and Use Case Diagrams, describing both the static structure and dynamic behavior of a system. Communication diagrams show a lot of the same information as sequence diagrams, but are clearer to show the interaction among elements, whereas sequence diagrams are clearer to show the order in which the interactions take place. Uses free-form arrangement of objects and links. To maintain the ordering of messages, messages are labeled with a chronological number and placed near the link the message is sent. Reading a communication diagram involves starting at message 1.0, and following the messages from object to object Gabriel Fung. 52
53 Communication Diagram Example coursedetail 2 getcoursename(courseid) string 3 getlocation() json 4 getstudentlist() array course 3.1 getbuildingname(locationid) string 3.2 getlocationname(locationid) string location staff 1.1 input courseid 1.2 click enquiry 1.3 enquiry(courseid) object student 4.1 getstudentname(studentid) string 4.2 getstudentmajor(studentid) string Gabriel Fung. 53
54 Timing Diagram Used to show interactions when the primary purpose of the diagram is to reason about time. Timing diagrams focus on conditions changing within and among lifelines along a linear time axis Server Processing Idle 100ms Browser Waiting Processing Idle 20ms 10ms Web User Viewing Waiting Idle Gabriel Fung. 54
55 Interaction Overview Diagram The interaction overview diagram is similar to combining activity diagrams, sequence diagrams and timing diagrams Gabriel Fung. 55
56 Interaction Overview Diagram Example Gabriel Fung. 56
57 References http// http// https//creately.com/blog/diagrams/uml-diagramtypes-examples/ http// Gabriel Fung. 57
SEEM4570 System Design and Implementation Lecture 11 UML
SEEM4570 System Design and Implementation Lecture 11 UML Introduction In the previous lecture, we talked about software development life cycle in a conceptual level E.g. we need to write documents, diagrams,
More informationNotation Part 1. Object Orientated Analysis and Design. Benjamin Kenwright
Notation Part 1 Object Orientated Analysis and Design Benjamin Kenwright Version Control Example Team Princess 3 Members 3 Github Users e.g., Elva1997, michelle0924hhx, KimJaeHwang Each user can join and
More informationSoftware Service Engineering
Software Service Engineering Lecture 4: Unified Modeling Language Doctor Guangyu Gao Some contents and notes selected from Fowler, M. UML Distilled, 3rd edition. Addison-Wesley Unified Modeling Language
More informationPractical UML - A Hands-On Introduction for Developers
Practical UML - A Hands-On Introduction for Developers By: Randy Miller (http://gp.codegear.com/authors/edit/661.aspx) Abstract: This tutorial provides a quick introduction to the Unified Modeling Language
More informationChapter 10. Object-Oriented Analysis and Modeling Using the UML. McGraw-Hill/Irwin
Chapter 10 Object-Oriented Analysis and Modeling Using the UML McGraw-Hill/Irwin Copyright 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Objectives 10-2 Define object modeling and explain
More informationSEEM4570 System Design and Implementation. Lecture 11 From Design to Implementation
SEEM4570 System Design and Implementation Lecture 11 From Design to Implementation Introduction We learned programming and we learned UML, but separately. Now, the question is how can we translate a design
More informationCS 370 REVIEW: UML Diagrams D R. M I C H A E L J. R E A L E F A L L
CS 370 REVIEW: UML Diagrams D R. M I C H A E L J. R E A L E F A L L 2 0 1 5 Introduction UML Unified Modeling Language Very well recognized specification for modeling architectures, use cases, etc. UML
More informationPractical UML : A Hands-On Introduction for Developers
Borland.com Borland Developer Network Borland Support Center Borland University Worldwide Sites Login My Account Help Search Practical UML : A Hands-On Introduction for Developers - by Randy Miller Rating:
More informationUML Fundamental. OutLine. NetFusion Tech. Co., Ltd. Jack Lee. Use-case diagram Class diagram Sequence diagram
UML Fundamental NetFusion Tech. Co., Ltd. Jack Lee 2008/4/7 1 Use-case diagram Class diagram Sequence diagram OutLine Communication diagram State machine Activity diagram 2 1 What is UML? Unified Modeling
More informationSOFTWARE DESIGN COSC 4353 / Dr. Raj Singh
SOFTWARE DESIGN COSC 4353 / 6353 Dr. Raj Singh UML - History 2 The Unified Modeling Language (UML) is a general purpose modeling language designed to provide a standard way to visualize the design of a
More informationCOSC 3351 Software Design. An Introduction to UML (I)
COSC 3351 Software Design An Introduction to UML (I) This lecture contains material from: http://wps.prenhall.com/esm_pfleeger_softengtp_2 http://sunset.usc.edu/classes/cs577a_2000/lectures/05/ec-05.ppt
More informationUnified Modeling Language (UML)
Unified Modeling Language (UML) Troy Mockenhaupt Chi-Hang ( Alex) Lin Pejman ( PJ ) Yedidsion Overview Definition History Behavior Diagrams Interaction Diagrams Structural Diagrams Tools Effect on Software
More informationSoftware Life-Cycle Models
Software Life-Cycle Models CMPSC 487 Lecture 03 Topics: UML Class Diagram Rosenburg Chap 2. Domain Modeling A. UML: Unified Modeling Language UML is a general-purpose, developmental, modeling language
More informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)
Subject Code: 17630 Model Answer Page No: 1 /32 Important Instructions to examiners: 1) The answers should be examined by keywords and not as word-to-word as given in the model answer scheme. 2) The model
More informationLesson 11. W.C.Udwela Department of Mathematics & Computer Science
Lesson 11 INTRODUCING UML W.C.Udwela Department of Mathematics & Computer Science Why we model? Central part of all the activities We build model to Communicate Visualize and control Better understand
More informationUNIT-4 Behavioral Diagrams
UNIT-4 Behavioral Diagrams P. P. Mahale Behavioral Diagrams Use Case Diagram high-level behaviors of the system, user goals, external entities: actors Sequence Diagram focus on time ordering of messages
More informationLab Manual. Object Oriented Analysis And Design. TE(Computer) VI semester
Lab Manual Object Oriented Analysis And Design TE(Computer) VI semester Index Sr. No. Title of Programming Assignment Page No. 1 2 3 4 5 6 7 8 9 10 Study of Use Case Diagram Study of Activity Diagram Study
More informationA - 1. CS 494 Object-Oriented Analysis & Design. UML Class Models. Overview. Class Model Perspectives (cont d) Developing Class Models
CS 494 Object-Oriented Analysis & Design UML Class Models Overview How class models are used? Perspectives Classes: attributes and operations Associations Multiplicity Generalization and Inheritance Aggregation
More informationS T R U C T U R A L M O D E L I N G ( M O D E L I N G A S Y S T E M ' S L O G I C A L S T R U C T U R E U S I N G C L A S S E S A N D C L A S S D I A
S T R U C T U R A L M O D E L I N G ( M O D E L I N G A S Y S T E M ' S L O G I C A L S T R U C T U R E U S I N G C L A S S E S A N D C L A S S D I A G R A M S ) WHAT IS CLASS DIAGRAM? A class diagram
More informationUML Tutorial. Unified Modeling Language UML Tutorial
UML Tutorial Unified Modeling Language UML Tutorial A Unified Modeling Language is a language for specifying, constructing, visualizing and documenting the software system and its components. UML is a
More informationCHAPTER 5 CO:-Sketch component diagram using basic notations 5.1 Component Diagram (4M) Sample Component Diagram 5.2 Deployment Diagram (8M)
CHAPTER 5 CO:-Sketch component diagram using basic notations 5.1 Component Diagram (4M) Sample Component Diagram 5.2 Deployment Diagram (8M) Sample Deployment diagram Component diagrams are different in
More informationSequence Diagrams. Massimo Felici. Massimo Felici Sequence Diagrams c
Sequence Diagrams Massimo Felici What are Sequence Diagrams? Sequence Diagrams are interaction diagrams that detail how operations are carried out Interaction diagrams model important runtime interactions
More informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)
Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate
More informationUnified Modeling Language I.
Unified Modeling Language I. Software engineering Szoftvertechnológia Dr. Balázs Simon BME, IIT Outline Software engineering Modeling Unified Modeling Language (UML) UML Diagrams: Use Case Diagram Activity
More informationObject-Oriented Software Engineering Practical Software Development using UML and Java
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 5: Modelling with Classes Lecture 5 5.1 What is UML? The Unified Modelling Language is a standard graphical
More informationUML. By Somenath Mukhopadhyay.
UML By som@som-itsolutions.com What is the UML? Stands for unified modelling language Is the successor of OOAD methods It unifies the methods of Booch, Rumbaugh and Jacobson Now a standard with Object
More informationComputer Science for Engineers
Computer Science for Engineers Lecture 5 Object Orientation part 3 Prof. Dr. Dr.-Ing. Jivka Ovtcharova Dipl. Wi.-Ing. Dan Gutu 27 th of November 2009 Aggregation and Composition (1) A special case of an
More informationINTRODUCTION TO UNIFIED MODELING MODEL (UML) & DFD. Slides by: Shree Jaswal
INTRODUCTION TO UNIFIED MODELING MODEL (UML) & DFD Slides by: Shree Jaswal What is UML? 2 It is a standard graphical language for modeling object oriented software. It was developed in mid 90 s by collaborative
More informationSoftware Engineering Lab Manual
Kingdom of Saudi Arabia Ministry Education Prince Sattam Bin Abdulaziz University College of Computer Engineering and Sciences Department of Computer Science Software Engineering Lab Manual 1 Background:-
More informationObject-Oriented and Classical Software Engineering
Slide 16.1 Object-Oriented and Classical Software Engineering Seventh Edition, WCB/McGraw-Hill, 2007 Stephen R. Schach srs@vuse.vanderbilt.edu CHAPTER 16 Slide 16.2 MORE ON UML 1 Chapter Overview Slide
More informationObject-Oriented Systems Analysis and Design Using UML
10 Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design, 8e Kendall & Kendall Copyright 2011 Pearson Education, Inc. Publishing as Prentice Hall Learning Objectives Understand
More informationQuestion Sheet There are a number of criticisms to UML. List a number of these criticisms.
Question Sheet 1 Name: ID: These questions do not have a formal, definitive answer. They are meant to be food for thoughts. Feel free to seek answers on browsing the Internet, talking to other software
More informationObject-Oriented Design
Object-Oriented Design Lecture 14: Design Workflow Department of Computer Engineering Sharif University of Technology 1 UP iterations and workflow Workflows Requirements Analysis Phases Inception Elaboration
More informationUML 2.0 UML 2.0. Scott Uk-Jin Lee. Division of Computer Science, College of Computing Hanyang University ERICA Campus
UML 2.0 Division of Computer Science, College of Computing Hanyang University ERICA Campus Introduction to UML 2.0 UML Unified Modeling Language Visual language for specifying, constructing and documenting
More informationCSI 32. Lecture Object-Oriented Paradigm. UML (Unified Modeling Language)
Lecture 3 1.4 Object-Oriented Paradigm UML (Unified Modeling Language) The Object-Oriented Paradigm - data and operations are paired - programs are composed of self-sufficient modules (objects) each module
More informationUnified Modeling Language (UML)
Appendix H Unified Modeling Language (UML) Preview The Unified Modeling Language (UML) is an object-oriented modeling language sponsored by the Object Management Group (OMG) and published as a standard
More informationObject Oriented Modeling and Design
T.Y. Diploma : Sem. VI [IF/CM] Object Oriented Modeling and Design Time: 3 Hrs.] Prelim Question Paper Solution [Marks : 100 Q.1 Attempt any FIVE of the following [20] Q.1(a) Explain four stages of OMT
More informationAli Khan < Project Name > Design Document. Version 1.0. Group Id: S1. Supervisor Name: Sir.
< Project Name > Design Document Version 1.0 Group Id: S1. Supervisor Name: Sir. Revision History Date Version Description Author Table of Contents 1. Introduction of Design Document 2. Entity Relationship
More informationWhat is a Class Diagram? A diagram that shows a set of classes, interfaces, and collaborations and their relationships
Class Diagram What is a Class Diagram? A diagram that shows a set of classes, interfaces, and collaborations and their relationships Why do we need Class Diagram? Focus on the conceptual and specification
More informationWhat is a Class Diagram? Class Diagram. Why do we need Class Diagram? Class - Notation. Class - Semantic 04/11/51
What is a Class Diagram? Class Diagram A diagram that shows a set of classes, interfaces, and collaborations and their relationships Why do we need Class Diagram? Focus on the conceptual and specification
More informationUnified Modeling Language
Unified Modeling Language Software technology Szoftvertechnológia Dr. Balázs Simon BME, IIT Outline UML Diagrams: Sequence Diagram Communication Diagram Interaction Overview Diagram Dr. Balázs Simon, BME,
More informationOral Questions. Unit-1 Concepts. Oral Question/Assignment/Gate Question with Answer
Unit-1 Concepts Oral Question/Assignment/Gate Question with Answer The Meta-Object Facility (MOF) is an Object Management Group (OMG) standard for model-driven engineering Object Management Group (OMG)
More informationUML Primer. -Elango Sundaram
UML Primer -Elango Sundaram About UML UML Can be thought of as a blue print for Software Graphical notation for expressing underlying OOA&D ideas Can be used to design any type of application, hardware,
More informationMeltem Özturan
Meltem Özturan www.mis.boun.edu.tr/ozturan/samd 1 2 Modeling System Requirements Object Oriented Approach to Requirements OOA considers an IS as a set of objects that work together to carry out the function.
More informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER
Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate
More informationOO Techniques & UML Class Diagrams
OO Techniques & UML Class Diagrams SE3A04 Tutorial Jason Jaskolka Department of Computing and Software Faculty of Engineering McMaster University Hamilton, Ontario, Canada jaskolj@mcmaster.ca October 17,
More informationClass diagrams. Modeling with UML Chapter 2, part 2. Class Diagrams: details. Class diagram for a simple watch
Class diagrams Modeling with UML Chapter 2, part 2 CS 4354 Summer II 2015 Jill Seaman Used to describe the internal structure of the system. Also used to describe the application domain. They describe
More informationUML diagrams. Software artifacts include: SRS, SDS, test cases, source code, technical/user manual, software architecture, etc.
UML Modeling UML diagrams UML (Unified Modeling Language) is a general purpose visual modeling language that provides different types of diagrammatic techniques and notations to specify, visualize, analyze,
More informationToday s Topic. Lecture 5. What is UML? Why Use UML. UML Diagrams. Introduction to UML. What is UML Why use UML? UML Diagrams
Today s Topic Lecture 5 Introduction to UML What is UML Why use UML? UML Static Use case, Class, Object Deployment, Component (Physical ) Dynamic Sequence, Collaboration (Interaction ) Activity, State
More information1/17/2014. UML Help and Details (from: UML for cse UML for a class. UML and project clarifications
UML Help and Details (from: http://enwikipediaorg/wiki/class_diagram) Sharma Chakravarthy Information Technology Laboratory (IT Lab) Computer Science and Engineering Department The University of Texas
More informationVidyalankar. T.Y. Diploma : Sem. VI [IF/CM] Object Oriented Modeling and Design Prelim Question Paper Solution
T.Y. Diploma : Sem. VI [IF/CM] Object Oriented Modeling and Design Prelim Question Paper Solution Q.1(a) Attempt any THREE of the following [12] Q.1(a) (i) What is modeling? Also state its four features.
More informationCHAPTER 1. Topic: UML Overview. CHAPTER 1: Topic 1. Topic: UML Overview
CHAPTER 1 Topic: UML Overview After studying this Chapter, students should be able to: Describe the goals of UML. Analyze the History of UML. Evaluate the use of UML in an area of interest. CHAPTER 1:
More informationCSE 403: Software Engineering, Spring courses.cs.washington.edu/courses/cse403/15sp/ UML Class Diagrams. Emina Torlak
CSE 403: Software Engineering, Spring 2015 courses.cs.washington.edu/courses/cse403/15sp/ UML Class Diagrams Emina Torlak emina@cs.washington.edu Outline Designing classes Overview of UML UML class diagrams
More informationInteractions A link message
Interactions An interaction is a behavior that is composed of a set of messages exchanged among a set of objects within a context to accomplish a purpose. A message specifies the communication between
More informationUNIT-IV BASIC BEHAVIORAL MODELING-I
UNIT-IV BASIC BEHAVIORAL MODELING-I CONTENTS 1. Interactions Terms and Concepts Modeling Techniques 2. Interaction Diagrams Terms and Concepts Modeling Techniques Interactions: Terms and Concepts: An interaction
More informationCredit where Credit is Due. Lecture 4: Fundamentals of Object Technology. Goals for this Lecture. Real-World Objects
Lecture 4: Fundamentals of Object Technology Kenneth M. Anderson Object-Oriented Analysis and Design CSCI 6448 - Spring Semester, 2003 Credit where Credit is Due Some material presented in this lecture
More informationCourse "Softwaretechnik" Book Chapter 2 Modeling with UML
Course "Softwaretechnik" Book Chapter 2 Modeling with UML Lutz Prechelt, Bernd Bruegge, Allen H. Dutoit Freie Universität Berlin, Institut für Informatik http://www.inf.fu-berlin.de/inst/ag-se/ Modeling,
More informationUNIT I. 3. Write a short notes on process view of 4+1 architecture. 4. Why is object-oriented approach superior to procedural approach?
Department: Information Technology Questions Bank Class: B.E. (I.T) Prof. Bhujbal Dnyaneshwar K. Subject: Object Oriented Modeling & Design dnyanesh.bhujbal11@gmail.com ------------------------------------------------------------------------------------------------------------
More informationUNIT 5 - UML STATE DIAGRAMS AND MODELING
UNIT 5 - UML STATE DIAGRAMS AND MODELING UML state diagrams and modeling - Operation contracts- Mapping design to code UML deployment and component diagrams UML state diagrams: State diagrams are used
More informationObject Orientated Analysis and Design. Benjamin Kenwright
Notation Part 2 Object Orientated Analysis and Design Benjamin Kenwright Outline Review What do we mean by Notation and UML? Types of UML View Continue UML Diagram Types Conclusion and Discussion Summary
More informationUnified Modeling Language
Unified Modeling Language Modeling Applications using Language Mappings Programmer s Reference Manual How to use this Reference Card: The consists of a set of fundamental modeling elements which appear
More informationObject-Oriented Software Engineering Practical Software Development using UML and Java. Chapter 5: Modelling with Classes
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 5: Modelling with Classes 5.1 What is UML? The Unified Modelling Language is a standard graphical language
More informationSoftware Development Cycle. Unified Modeling Language. Unified Modeling Language. Unified Modeling Language. Unified Modeling Language.
Plan for today Software Design and UML Building a software system Documenting your design using UML Process for software development People management Work management Team management Caveat: These processes
More informationToday s Agenda UML. CompSci 280 S Introduction to Software Development. 1.Introduction UML Diagrams. Topics: Reading:
CompSci 280 S2 2107 Introduction to Software Development Today s Agenda Topics: Introduction Activity Diagram Object interaction Sequence Diagram Reading: Booch G.,The Unified Modeling Language User Guide,
More informationCourse 3 7 March
Course 3 7 March adiftene@info.uaic.ro 1 From Courses 1, 2 Modeling Modeling Languages Graphic Languages UML History UML Definition UML Diagram Types UML Use Case Diagram Actors Use Case UML Class Diagrams
More informationChapter 2: Entity-Relationship Model
Chapter 2: Entity-Relationship Model! Entity Sets! Relationship Sets! Design Issues! Mapping Constraints! Keys! E-R Diagram! Extended E-R Features! Design of an E-R Database Schema! Reduction of an E-R
More informationLecture 34 SDLC Phases and UML Diagrams
That Object-Oriented Analysis and Design Prof. Partha Pratim Das Department of Computer Science and Engineering Indian Institute of Technology-Kharagpur Lecture 34 SDLC Phases and UML Diagrams Welcome
More informationINF 111 / CSE 121: Announcements Quiz #3- Thursday What will it cover?
INF 111 / CSE 121: Software Tools and Methods Lecture Notes for Summer Quarter 2008 Michele Rousseau Lecture Notes 7 - UML Announcements Quiz #3- Thursday What will it cover? All readings assigned since
More informationIntroduction. Chapter 1. What Is Visual Modeling? The Triangle for Success. The Role of Notation. History of the UML. The Role of Process
Quatrani_Ch.01.fm Page 1 Friday, October 27, 2000 9:02 AM Chapter 1 Introduction What Is Visual Modeling? The Triangle for Success The Role of Notation History of the UML The Role of Process What Is Iterative
More informationActivity Diagram Written Date : September 02, 2016
Written Date : September 02, 2016 s describe how activities are coordinated to provide a service which can be at different levels of abstraction. Typically, an event needs to be achieved by some operation,
More informationExperiment no 4 Study of Class Diagram in Rational Rose
Experiment no 4 Study of Class Diagram in Rational Rose Objective-: To studyclass Diagram in Rational Rose. References-: www.developer.com The Unified Modeling Language User Guide by Grady Booch Mastering
More informationBPMN Getting Started Guide
Enterprise Studio BPMN Getting Started Guide 2017-09-21 Applies to: Enterprise Studio 3.0.0, Team Server 3.0.0 Table of contents 1 About modeling with BPMN 5 1.1 What is BPMN? 5 1.2 BPMN modeling 5 1.3
More informationModeling with UML. (1) Use Case Diagram. (2) Class Diagram. (3) Interaction Diagram. (4) State Diagram
Modeling with UML A language or notation intended for analyzing, describing and documenting all aspects of the object-oriented software system. UML uses graphical notations to express the design of software
More informationIDERA ER/Studio Software Architect Evaluation Guide. Version 16.5/2016+ Published February 2017
IDERA ER/Studio Software Architect Evaluation Guide Version 16.5/2016+ Published February 2017 2017 IDERA, Inc. All rights reserved. IDERA and the IDERA logo are trademarks or registered trademarks of
More informationDesign Engineering. Dr. Marouane Kessentini Department of Computer Science
Design Engineering Dr. Marouane Kessentini Department of Computer Science 1 Design Starts mostly from/with requirements (evolving mostly from functionalities and other non functional characteristics) How
More informationIntroducing the UML Eng. Mohammed T. Abo Alroos
Introducing the UML Eng. Mohammed T. Abo Alroos Islamic University of Gaza Introduction to the UML: The UML stands for Unified Modeling Language. It was released in 1997 as a method to diagram software
More informationOO System Models Static Views
OO System Models Static Views UML Class & Object Diagrams Software Engineering OO Models Class Diagram Slide 1 Objective Introduces the evolutionary approach for building classes Explain how to identify
More informationMSO Analysis & UML. Hans Philippi (based on the course slides of Wouter Swierstra) August 24, Analysis & UML 1 / 56
MSO Analysis & UML Hans Philippi (based on the course slides of Wouter Swierstra) August 24, 2018 Analysis & UML 1 / 56 Recap: Last lectures How can I manage the process of constructing complex software?
More informationOBJECT ORIENTED DESIGN with the Unified Process. Use Case Realization
OBJECT ORIENTED DESIGN with the Unified Process Use Case Realization Objectives Explain the purpose and objectives of objectoriented design Develop design class diagrams Develop detailed sequence diagrams
More informationIS 0020 Program Design and Software Tools
1 IS 0020 Program Design and Software Tools Unified Modeling Language Lecture 13 April 13, 2005 What is UML? 2 The Unified Modelling Language is a standard notation to model [object oriented] systems.
More informationSelection of UML Models for Test Case Generation: A Discussion on Techniques to Generate Test Cases
St. Cloud State University therepository at St. Cloud State Culminating Projects in Computer Science and Information Technology Department of Computer Science and Information Technology 6-2018 Selection
More informationFor 100% Result Oriented IGNOU Coaching and Project Training Call CPD TM : ,
Course Code : MCS-032 Course Title : Object Oriented Analysis and Design Assignment Number : MCA (3)/032/Assign/2014-15 Assignment Marks : 100 Weightage : 25% Last Dates for Submission : 15th October,
More informationTopic 3 Unified Modeling Language UML. Objective: Student will use UML to represent relationshiops between objects, its structure and dynamics.
Topic 3 Unified Modeling Language UML Objective: Student will use UML to represent relationshiops between objects, its structure and dynamics. Contents: 1. Structure diagrams 2. Behavior diagrams What
More informationCISC 322 Software Architecture
CISC 322 Software Architecture UML - The Unified Modelling Language Nicolas Bettenburg 1 DEFINITION The Unified Modelling Language (UML) is a graphical language for visualizing, specifying, constructing,
More informationUNIT-II Introduction to UML
UNIT-II Introduction to UML - P. P. Mahale UML OVERVIEW OF UML :- We need a Modeling Language! We will use the Unified Modeling Language, UML), Provides a standard for artifacts produced during development
More informationUML: Unified Modeling Language
UML: Unified Modeling Language 1 Modeling Describing a system at a high level of abstraction A model of the system Used for requirements and specification Many notations over time State machines Entity-relationship
More informationObject-Oriented Analysis and Design. Pre-UML Situation. The Unified Modeling Language. Unification Efforts
Object-Oriented Analysis and Design Analysis vs. Design Analysis Activities Finding the Objects/ Classes An Analysis Example The Unified Modeling Language Pre-UML Situation Early 90s Explosion of OO methods/notations
More informationInteraction Modelling: Sequence Diagrams
Interaction Modelling: Sequence Diagrams Fabrizio Maria Maggi Institute of Computer Science (these slides are derived from the book Object-oriented modeling and design with UML ) Interaction Modelling
More informationVISHNU INSTITUTE OF TECHNOLOGY Vishnupur, BHIMAVARAM
VISHNU INSTITUTE OF TECHNOLOGY Vishnupur, BHIMAVARAM 534 202 LABORATORY MANUAL IV B.Tech I Sem CSE Unified Modeling Language & Design Patterns Lab DEPARTMENT OF CSE OUR MISSION LEARN TO EXCEL Regd.No
More informationOBJECT ORIENTED DESIGN with the Unified Process. Use Case Realization
OBJECT ORIENTED DESIGN with the Unified Process Use Case Realization 2016 Software Engineering 2 (Zoom-Into Design) Requirement Requirement Specification (Functional & Non- Functional) analysis Requirement
More informationLABORATORY 1 REVISION
UTCN Computer Science Department Software Design 2012/2013 LABORATORY 1 REVISION ================================================================== I. UML Revision This section focuses on reviewing the
More informationIndex. : (colon), 80 <<>> (guillemets), 34, 56
: (colon), 80 (guillemets), 34, 56 A Abstraction, 3 Acronyms, 54 Action field, 140 Actions tab, 140 ActiveX controls (Microsoft), 163 Activities. See also Activity diagrams basic description of, 241
More informationObject-Oriented Development and UML. Announcement. Agenda 7/3/2008. Class will resume on July 22. Try to complete the lab assignments by July.
Object-Oriented Development and UML 2 4 pm Thursday 7/3/2008 @JD2211 1 Announcement Class will resume on July 22. Try to complete the lab assignments by July 21. 2 Agenda Review Object-Oriented Analysis
More informationAccessibility. EEC 521: Software Engineering. Classes and Objects. Inheritance. Classes and Objects (OO Analysis)
Accessibility EEC 521: Software Engineering Classes and Objects (OO Analysis) Attributes and Methods can be declared at three levels of accessibility Public (+) Visible everywhere Private (-) Visible only
More informationClass diagrams. Modeling with UML Chapter 2, part 2. Class Diagrams: details. Class diagram for a simple watch
Class diagrams Modeling with UML Chapter 2, part 2 CS 4354 Summer II 2014 Jill Seaman Used to describe the internal structure of the system. Also used to describe the application domain. They describe
More informationObject Oriented Design. Program Design. Analysis Phase. Part 2. Analysis Design Implementation. Functional Specification
Object Oriented Design Part 2 Analysis Design Implementation Program Design Analysis Phase Functional Specification Completely defines tasks to be solved Free from internal contradictions Readable both
More informationUML- a Brief Look UML and the Process
UML- a Brief Look UML grew out of great variety of ways Design and develop object-oriented models and designs By mid 1990s Number of credible approaches reduced to three Work further developed and refined
More informationObject-Oriented Systems Development: Using the Unified Modeling Language
Object-Oriented Systems Development: Using the Unified Modeling Language Chapter 5: Unified Modeling Language Goals Modeling. Unified modeling language. Class diagram. Use case diagram. Interaction diagrams.
More informationPrinciples of Software Construction: Objects, Design and Concurrency. Just enough UML. toad
Principles of Software Construction: Objects, Design and Concurrency Just enough UML 15-214 toad Christian Kästner Charlie Garrod School of Computer Science With slides from Klaus Ostermann Learning Goals
More informationUnified Modeling Language (UML)
1 / 45 Unified Modeling Language (UML) Miaoqing Huang University of Arkansas 2 / 45 Outline 1 Introduction 2 Use Case Diagram 3 Class Diagram 4 Sequence Diagram 3 / 45 Outline 1 Introduction 2 Use Case
More information