Lesson 11. W.C.Udwela Department of Mathematics & Computer Science
|
|
- Angelica Cathleen Craig
- 5 years ago
- Views:
Transcription
1 Lesson 11 INTRODUCING UML W.C.Udwela Department of Mathematics & Computer Science
2 Why we model? Central part of all the activities We build model to Communicate Visualize and control Better understand the system suppose Manage risk
3 Success of the Dream House Modeling is a proven and wellaccepted engineering technique We build architectural models of houses and high rises to help their users visualize the final product We may even build mathematical models in order to analyze the effects of winds or earthquakes on our buildings
4 UML Requirements & Analysis Design & Construction
5 Cont The Unified Modeling Language (UML) is a standard language for writing software blueprints UML Ref. The UML is a language for Visualizing The UML is a language for Specifying The UML is a language for Constructing The UML is a language for Documenting
6 Learning Path to UML Learn three major elements of UML language Basic building blocks The rules that dictate how those building blocks may be put together Some common mechanisms that apply thorough out the UML Once you grasp these ideas, you will be able to read UML models and create some basic ones. As you gain more experience in applying UML, you can build conceptual models using more advance features of the UML.
7 Diagrams dynamic static Diagrams Case study Class diagram Object diagram Use case diagram Sequence diagram Collaboration diagram Statechart diagram Activity diagram Component diagram Deployment diagram An class object diagram diagram shows shows a set a set of of A classes, objects use case and interfaces, diagram their relationships. and shows a set of use collaborations and their relationships. Object cases diagrams and actors represent (a special static kind of A snapshots class) component and of their diagram instances relationships. shows the An An interaction diagram of shows the an organizations activity diagram and dependencies is a special kind of These things interaction, Use case found diagrams diagrams consisting in class are address diagrams. the of a most set the of among A a deployment statechart a set of diagram components. shows that shows a the static A the common objects state configuration collaboration These flow use machine, from and diagrams case their activity of view consisting diagram run-time relationships, address found of to a activity is in system. of an states, the static These interaction within modeling including transitions, Component processing design a diagrams the view system. object-oriented events, nodes diagrams messages or static are and that especially the address activities. that process systems. may the view important emphasizes be static components dispatched implementation in organizing the that among structural live on them. and view them. modeling of a of a system as do class diagrams, the organization Activity Statechart system. diagrams diagrams Class but behaviors of from diagrams the perspective of the address address system. objects address that the the Interaction of the real static the send dynamic Deployment and view receive of diagrams of a system. messages. address or the design prototypical dynamic They static deployment are view view related cases of a of system. a to view system. class of diagrams an They in Sequence They are diagrams and in architecture. that are a component especially important typically maps in A Class sequence diagrams diagram that include is collaboration modeling to one or the more diagrams function behavior classes, of are of a interfaces, an system active classes interaction address diagram the static that isomorphic, and interface, or They collaborations. emphasize are class, related meaning the or to collaboration flow that component of you control process can view emphasizes of a system the time-ordering of take among and diagrams one objects and in that transform the a node event-ordered it typically into the messages other. behavior encloses of one an or object more components.
8
9 USE CASE Diagram Identifying Actors Actors represent external entities that interact with the system. An actor can be human or an external system
10 Cont Questions for identifying Actors Which user groups are supported by the system to perform their work? Which user groups execute the system s main functions? Which user groups perform secondary functions, such as maintenance and administration? With what external h/w or s/w system will the system interact?
11 Cont Once the actors are identified, the next step is to determine the functionality that will be accessible to each actor. This information can ne extracted using scenarios and formalized use cases.
12 Cont A scenario is a concrete, focused, informal description of a signal feature of the system from the viewpoint of a single actor Can not replace use cases as they focus on specific instances and concrete events Scenarios can not contain descriptions of decisions
13 Cont Questions for identifying scenarios What are the tasks that the actor wants the system to perform? What information does the actor access? Who creates that data? Can it be modified or removed? By whom? Which external change does the actor need to inform the about? How often? When? Which events does the actor need to inform the system about? With what latency?
14 USE CASE Diagram Once developers have identified and described actors and scenarios, they formalized scenarios into use case. Use case specify all possible scenarios for a Use case specify all possible scenarios for a given pies of functionality.
15 Simple use cases writing guide Use case should be named with verbs (What the user is trying to accomplish) Actor should be named with noun phrases Boundary should be clear (Steps accomplished by user and system should distinguished) Flow of event should phrased in the active voice Use case should describe the complete use transaction
16 Cont Exception should be described separately Use case should not describe the interface of the system Use case should not exceed two or three Use case should not exceed two or three pages in length. Otherwise use include and extend relationships to decompose it in smaller use cases.
17 Cont Identifying relationships among Actors and Use Cases Communication relationship between actors and use cases
18 Cont Extend relationship between use cases A use case extends another use case if the extended use case may include the behavior of the extension under certain conditions.
19 Cont Advantages of separating exceptional and optional flows of evens from the base use case Base use case becomes shorter and easier to understand The common case is distinguished from the exceptional case which enables developers to treat each type of functionality differently
20 Cont Include relationships between use cases Redundancies among use cases can be factored out using include relationships Assume Dispatcher needs to consult the city map when opening an incident and when allocating resources. In this case ViewMap use case describes the flow of evens required when viewing the city and is used by both the OpenIncident and the AllocateResources use cases
21 Cont Heuristics for extend and include relationships Use extend relationships for exceptional, optional, or seldom-occurring behavior. Use Include relationships for behavior that is shared across two or more use cases
22 From Use Case to Objects Identifying Entity Objects Participating objects form the basis of the analysis model. Part of Speech Model component Examples Proper Noun Instance Kamla Common Noun Class Field officer Doing Verb Operation Creates, submits. Selects Being Verbs Inheritance Is a kind of, is one of either Having verb Aggregation Has, Consist of, includes Modal verb Constraints Must be Adjectives Attributes Incident Description
23 Class Diagram What is a class diagram? A class diagram describes the types of objects in the system and the various kinds of static relationships that exist among them Essential Elements of a UML Class Diagram Class Attributes Operations Relationships Associations Generalization Dependency Realization Constraint Rules and Notes
24 Objects Objects have three responsibilities: What they know about themselves (e.g., Attributes) What they do (e.g., Operations) What they know about other objects (e.g., Relationships)
25 Class A class is the description of a set of objects having similar attributes, operations, relationships and behavior. Class Name Attributes Operation s Objects
26 Relationships Generalization (Class-to-Class) (Superclass/Subclass) Inheritance Ex: Person - FacultyPerson, StudentPerson, Staff... Ex: ModesOfTravel - Airplane, Train, Auto, Cycle, Boat... [Object] Associations FacultyInformation - CourseInformation StudentInformation - CourseInformation [Object] Aggregations & Composition (Whole-Part) Assembly - Parts Group - Members
27 Generalization (Class-to-Class) (superclass subclass; supertype subtype) A Generalization follows a is a or is a kind of heuristic from a specialization class to the generalization class. (e.g., student is a person, video is a kind of inventory). Common attributes, operations and relationships are located in the generalization class and are inherited by the specialization classes Unique attributes, operations and relationships are located in the specialization classes. Inherited attributes and operations may be overridden or enhanced in the specialization class depending on programming language support. Inherited operations in the specialization classes may be polymorphic. Only use when objects do NOT transmute (add, copy, delete) Multiple inheritance is allowed in the UML but can complicate the class model s understanding and implementation (e.g., C++ supports but Java and Smalltalk do not).
28 Generalization Example <<abstract>> Role attributes operations Student attributes operations Staff attributes operations Visitor attributes operations Note: <<abstract>> = no objects
29 Generalization Inheritance Common Unique Generalization a1 a2 a3 o1 o2 o3 Specialization a4 a5 a6 o4 o5 o6 One-Way Inheritance from the Generalization to the Specialization (a = attribute; o = operation) Generalization a1 a2 a3 o1 o2 o3 Specialization a1 a2 a3 a4 a5 a6 o1 o2 o3 o4 o5 o6
30 Associations Relationships between instances (objects) of classes Example: An Employee works for a Company An association between two classes indicates that objects at one end of an association recognize objects at the other end and may send messages to them. This property will help us discover less trivial associations using interaction diagrams.
31 Cont
32 Cont
33 Cont Multiplicity: The multiplicity of a role indicates how many objects can participate in the relationship. In the example above, a school has many students and each student attends only one school. Exactly one 1 Zero or more (unlimited) * (0..*) One or more 1..* Zero or one (optional association) 0..1 Specified range 2..4 Multiple, disjoint ranges 2, 4..6, 8
34 Cont Navigability: Sometimes a role has an arrow indicating its navigability. This shows which class has the responsibility for maintaining the relationship between the classes. In the example above, the school class has a responsibility for knowing which students attend. Therefore, you don't have to explicitly define a getstudents operation in the school class (although you may) since it is already implicitly defined by the navigability of the association.
35 Aggregation A special form of association that models a whole-part relationship between an aggregate (the whole) and its parts. Models a is a part-part of relationship. An order is made up of several products, but a product continues to exist even if the order is destroyed.
36 Composition A strong form of aggregation The whole is the sole owner of its part. The part object may belong to only one whole Multiplicity on the whole side must be zero or one. The life time of the part is dependent upon the whole. The composite must manage the creation and destruction of its parts. A polygon is made up of several points. If the polygon is destroyed, so are the points.
37 Constraint Rules and Notes Constraints and notes annotate among other things associations, attributes, operations and classes. Constraints are semantic restrictions noted as Boolean expressions. UML offers many pre-defined constraints.
38 Analysis Classes A technique for finding analysis classes which uses three different perspectives of the system: The boundary between the system and its actors The information the system uses The control logic of the system
39 Boundary Classes Models the interaction between the system s surroundings and its inner workings User interface classes Concentrate on what information is presented to the user Don t concentrate on user interface details Example: ReportDetailsForm ConfirmationDialog System / Device interface classes Concentrate on what protocols must be defined. Don t concentrate on how the protocols are implemented
40 Entity Classes Models the key concepts of the system Usually models information that is persistent Contains the logic that solves the system problem Can be used in multiple behaviors Example: Violation, Report, Offender.
41 Control Classes Controls and coordinates the behavior of the system Delegates the work to other classes A control class should tell other classes to do something and should never do anything except for directing Control classes decouple boundary and entity classes Example: EditReportController AddViolationController
42 Cont
43 Tips Don t try to use all the various notations. Don t draw models for everything, concentrate on the key areas. Draw implementation models only when Draw implementation models only when illustrating a particular implementation technique.
44 State Diagram Used to describe the behaviour of one object (or sometimes an operator) for a number of scenarios that affect the object They are not good for showing interaction between objects (use interaction diagrams) Only use when the behaviour of a object is complex and more detail is needed
45 Cont
46 Cont State A state is a condition during the life of an object during which it satisfies some condition, performs some activity, or waits for some external event Event An event is the specification of a significant occurrence. For a state machine, an event is the occurrence of a stimulus that can trigger a state transition
47 Cont Transition A transition is a relationship between two states indicating that an object in the first state will, when a specified set of events and conditions are satisfied, perform certain actions and enter the second state. Self-Transition A self-transition is a transition whose source and target states are the same
48 Sequence Diagram Illustrates how objects interacts with each other. Emphasizes time ordering of messages. Can model simple sequential flow, branching, Can model simple sequential flow, branching, iteration, recursion and concurrency.
49 Cont
50 Object Object naming: syntax: [instancename][:classname] Name classes consistently with your class diagram (same classes). mybirthdy :Date Include instance names when objects are referred to in messages or when several objects of the same type exist in the diagram. The Life-Line represents the object s life during the interaction
51 Messages An interaction between two objects is performed as a message sent from one object to another If object obj sends a message to another If object obj 1 sends a message to another object obj 2 some link must exist between those two objects (dependency, same objects)
52 Cont A message is represented by an arrow between the life lines of two objects. Self calls are also allowed The time required by the receiver object to process the message is denoted by an activation-box. A message is labeled at minimum with the message name. Arguments and control information (conditions, iteration) may be included.
53 Return Values Optionally indicated using a dashed arrow with a label indicating the return value. Don t model a return value when it is obvious what is being returned, e.g. gettotal() Model a return value only when you need to refer to it elsewhere, e.g. as a parameter passed in another message. Prefer modeling return values as part of a method invocation, e.g. ok = isvalid()
54 Synchronous Messages Nested flow of control, typically implemented as an operation call. The routine that handles the message is completed before the caller resumes execution.
55 Control information Condition syntax: [ expression ] message-label The message is sent only if the condition is true example: Iteration [ok] borrow(member) syntax: * [ [ expression ] ] message-label The message is sent many times to possibly multiple receiver objects.
56 Control Information (Cont.) Iteration examples:
57 Control Information (Cont.) The control mechanisms of sequence diagrams suffice only for modeling simple alternatives. Consider drawing several diagrams for modeling complex scenarios. Don t use sequence diagrams for detailed modeling of algorithms (this is better done using activity diagrams, pseudo-code or state-charts).
58 Cont
59 Activity Diagram
60 What is it? Describes activities and flows of data or decisions between activities Provides a very broad view of business processes Can be used to break out the activities that occur within a use case Good for showing parallel threads
61 When to use it? When describing work flow across many use cases When analysing a use case, and before methods are assigned to symbols When dealing with multi-threaded applications
62 Creating an Activity Diagram This diagram is useful in showing work flow connections and describing behaviour that has a lot of parallel processing. When you use an activity diagram you can choose the order in which to do things. It expresses the essential sequencing rules to follow. It is different from a flow chart in that it shows parallel processes, not just sequential processes.
63 Activity Diagram Shows a set of activities, the flow from activity to activity. Represents the dynamic view of a system. Models the function of a system.
64 Activity Diagram Activity diagrams show the flow of control between activities They can model the sequential and concurrent steps in a computational process They can also model the flow of an object as it moves from state to state at different points in the activity
65 UML Activity symbols ActionState initial state final state Transition Transition (Fork) (Join) Control Flow Decision Swimlane
66 Action State In a conceptual diagram an activity is a task that needs to be done either by a human or a computer In a specification-perspective diagram or an implementation-diagram, an activity is a method on a class
67 Sequential Branching A sequential branch is represented as a diamond It may have one incoming transition and two or more outgoing transitions Guards are associated with each transition. The guards are evaluated upon entering the branch, and the one that evaluates to true is then taken
68 Example
69 Branch & Merge Calculate Risk [ risk high] Ask for Authorization [ risk low] Issue a Loan Continue
70 Forking and Joining Concurrent activities within an activity diagram are modelled with the use of synchronised bars Synchronisation bars are drawn as a thick horizontal or vertical line Joins and Forks should balance The number of flows that leave a fork should The number of flows that leave a fork should equal to the number of flows entering the corresponding join.
71 Fork & Join Issue a Loan Reserve Money Make a Agreement Make an Offer
72 PrepareMeal [ in the mood for wine] CookSpaghetti MakeSauce OpenBottleWine Combine Serve
73 Forks, Joins & conditional Threads PrepareMeal [ in the mood for wine] CookSpaghetti MakeSauce OpenBottleWine Combine Serve
74 Swim lanes The activities of an activity diagram may be performed by different groups. Each zone or lane represents the responsibilities of a particular group. If swimlanes are used, each activity can belong to one and only one swimlane. To use swimlanes, you must arrange your activity diagrams into vertical zones separated by dashed lines.
75 Swim lanes Finance Desk Administration Issue a Loan Reserve Money Make a Agreement Make an Offer
76 Key point Activity diagrams are useful for Business Process Redesign Work Flow Modelling Analysing Use Cases
What 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 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 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 informationEE 446 EMBEDDED ARCHITECTURE Embedded System in UML (2)
EE 446 EMBEDDED ARCHITECTURE Embedded System in UML (2) Airs Lin PART I CLASS DIAGRAMS System Analysis and Design. Identify the information system s purpose 2. Identify the information system s actors
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 informationUse Case Sequence Diagram. Slide 1
Use Case Sequence Diagram Slide 1 Interaction Diagrams l Interaction diagrams model the behavior of use cases by describing the way groups of objects interact to complete the task of the use case. They
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 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 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 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 informationAdvanced Software Engineering
Dev Bhoomi Institute Of Technology LABORATORY MANUAL PRACTICAL INSTRUCTION SHEET EXPERIMENT NO. ISSUE NO. : ISSUE DATE: REV. NO. : REV. DATE : PAGE: 1 LABORATORY Name & Code: Advanced Software Engineering
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 information12 Tutorial on UML. TIMe TIMe Electronic Textbook
TIMe TIMe Electronic Textbook 12 Tutorial on UML Introduction......................................................2.................................................3 Diagrams in UML..................................................3
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 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 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 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 informationBasic Structural Modeling. Copyright Joey Paquet,
Basic Structural Modeling Copyright Joey Paquet, 2000 1 Part I Classes Copyright Joey Paquet, 2000 2 Classes Description of a set of objects sharing the same attributes, operations and semantics Abstraction
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 informationAPPENDIX M INTRODUCTION TO THE UML
M INTRODUCTION TO THE UML This appendix, written only for those readers not familiar with the topic, provides a brief introduction, which cannot be considered as exhaustive, to the UML. The UML is a general-purpose
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 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 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 informationCSE 308. UML Sequence Diagrams. Reading / Reference.
CSE 308 UML Sequence Diagrams Reading Reading / Reference www.ibm.com/developerworks/rational/library/3101.html Reference www.visual-paradigm.com/vpgallery/diagrams/sequence.html 2 1 Interaction Diagrams
More informationProgress Report. Object-Oriented Software Development: Requirements elicitation (ch. 4) and analysis (ch. 5) Object-oriented software development
Progress Report Object-Oriented Software Development: Requirements elicitation (ch. 4) and analysis (ch. 5) CS 4354 Summer II 2014 Jill Seaman So far we have learned about the tools used in object-oriented
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 informationChapter 2: The Object-Oriented Design Process
Chapter 2: The Object-Oriented Design Process In this chapter, we will learn the development of software based on object-oriented design methodology. Chapter Topics From Problem to Code The Object and
More informationUML part I. UML part I 1/41
UML part I UML part I 1/41 UML part I 2/41 UML - Unified Modeling Language unified it can be shared among workers modeling it can be used for description of software model language it has defined structure
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 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 informationIntroduction to Software Engineering. 6. Modeling Behaviour
Introduction to Software Engineering 6. Modeling Behaviour Roadmap > Use Case Diagrams > Sequence Diagrams > Collaboration (Communication) Diagrams > Activity Diagrams > Statechart Diagrams Nested statecharts
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 informationProgress Report. Object-Oriented Software Development: Requirements elicitation and analysis. Object-oriented analysis, design, implementation
Progress Report Object-Oriented Software Development: Requirements elicitation and analysis CS 4354 Fall 2012 Jill Seaman So far we have learned about the tools used in object-oriented design and implementation
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 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 informationNOTES ON OBJECT-ORIENTED MODELING AND DESIGN
NOTES ON OBJECT-ORIENTED MODELING AND DESIGN Stephen W. Clyde Brigham Young University Provo, UT 86402 Abstract: A review of the Object Modeling Technique (OMT) is presented. OMT is an object-oriented
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 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 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 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 informationOMG Modeling Glossary B
OMG Modeling Glossary B This glossary defines the terms that are used to describe the Unified Modeling Language (UML) and the Meta Object Facility (MOF). In addition to UML and MOF specific terminology,
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 informationState Machine Diagrams
State Machine Diagrams Introduction A state machine diagram, models the dynamic aspects of the system by showing the flow of control from state to state for a particular class. 2 Introduction Whereas an
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 informationIntroduction to UML. Danang Wahyu utomo
Introduction to UML Danang Wahyu utomo danang.wu@dsn.dinus.ac.id 085 740 955 623 Evolution of OO Development Methods History of OOAD leading to UML Why Model? Analyse the problem domain - Simplify reality
More informationObject Oriented Modeling
Overview UML Unified Modeling Language What is Modeling? What is UML? A brief history of UML Understanding the basics of UML UML diagrams UML Modeling tools 2 Modeling Object Oriented Modeling Describing
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 informationSE 1: Software Requirements Specification and Analysis
SE 1: Software Requirements Specification and Analysis Lecture 9: UML Class (Concept), Object, Communication Diagrams Nancy Day, Davor Svetinović http://www.student.cs.uwaterloo.ca/ cs445/winter2006 uw.cs.cs445
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 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 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 informationLABORATORY 1 REVISION
UTCN Computer Science Department Software Design 2012/2013 LABORATORY 1 REVISION ================================================================== I. UML Revision This section focuses on reviewing the
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 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 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 informationDeveloping Shlaer-Mellor Models Using UML
Developing Shlaer-Mellor Models Using UML Stephen J. Mellor Neil Lang Project Technology, Inc. 10940 Bigge Street San Leandro, California 94577 (510) 567-0255 http://www.projtech.com This position paper
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 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 informationThe Unified Modeling Language (UML)
The Unified Modeling Language (UML) A Very Distilled Introduction to The Unified Modeling Language (UML). A quick introduction to UML is given. Thereafter, the surface of class and activity diagrams and
More informationFrom Analysis to Design. LTOOD/OOAD Verified Software Systems
From Analysis to Design 1 Use Cases: Notation Overview Actor Use case System X System boundary UCBase «extend» UCExt Actor A UCVar1 UCVar2 Extending case Generalization «include» Actor B UCIncl Included
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 informationArchitecture and the UML
Architecture and the UML Models, Views, and A model is a complete description of a system from a particular perspective Use Case Use Case Sequence Use Case Use Case Use Case State State Class State State
More informationChapter 6: Entity-Relationship Model. The Next Step: Designing DB Schema. Identifying Entities and their Attributes. The E-R Model.
Chapter 6: Entity-Relationship Model The Next Step: Designing DB Schema Our Story So Far: Relational Tables Databases are structured collections of organized data The Relational model is the most common
More informationSEEM4570 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 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 informationEngineering Design w/embedded Systems
1 / 40 Engineering Design w/embedded Systems Lecture 33 UML Patrick Lam University of Waterloo April 4, 2013 2 / 40 What is UML? Unified Modelling Language (UML): specify and document architecture of large
More informationThe Next Step: Designing DB Schema. Chapter 6: Entity-Relationship Model. The E-R Model. Identifying Entities and their Attributes.
Chapter 6: Entity-Relationship Model Our Story So Far: Relational Tables Databases are structured collections of organized data The Relational model is the most common data organization model The Relational
More informationObject-Oriented Software Engineering Practical Software Development using UML and Java. Chapter 8: Modelling Interactions and Behaviour
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour 8.1 Interaction Diagrams Interaction diagrams are used to model the
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 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 informationSoftware Engineering I (02161)
Software Engineering I (02161) Week 2 Assoc. Prof. Hubert Baumeister DTU Compute Technical University of Denmark Spring 2017 Contents What are software requirements? Requirements Engineering Process Domain
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 informationUML Unified Modeling Language
UML Unified Modeling Language a standard language to analyze, design and document software intensive solutions Modeling with UML Building blocks When you model something, you create a simplification of
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 informationStructured and Object Oriented Analysis and Design
RAMRAO ADIK INSTITUTE OF TECHNOLOGY, NERUL Department of Computer Engineering Lab Manual Structured and Object Oriented Analysis and Design 2015-2016 List of Experiments Subject: Structured and object
More informationUnified Modeling Language (UML) Class Diagram
1 / 10 Unified Modeling Language (UML) Class Diagram Miaoqing Huang University of Arkansas Spring 2010 2 / 10 Outline 1 2 3 / 10 Class Diagram Class diagrams show the static structure of the classes that
More informationPDOM Problem Domain Object Model
PDOM Problem Domain Object Model A R N O N L A Z E R S O N PDOM - PROBLEM DOMAIN OBJECT MODEL 1 Problem Domain Object Model A domain model is a representation of real-world concepts relevant to the domain
More informationCMPT 354 Database Systems I
CMPT 354 Database Systems I Chapter 2 Entity Relationship Data Modeling Data models A data model is the specifications for designing data organization in a system. Specify database schema using a data
More informationChapter 2, lecture 2 Modeling with UML
Object-Oriented Software Engineering Using UML, Patterns, and Java Chapter 2, lecture 2 Modeling with UML Overview: More detail on modeling with UML Use case diagrams Class diagrams Sequence diagrams Activity
More informationSEEM4570 System Design and Implementation. Lecture 10 UML
SEEM4570 System Design and Implementation Lecture 10 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 informationIntroduction to Software Engineering. 5. Modeling Objects and Classes
Introduction to Software Engineering 5. Modeling Objects and Classes Roadmap > UML Overview > Classes, attributes and operations > UML Lines and Arrows > Parameterized Classes, Interfaces and Utilities
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 informationLecture 17: (Architecture V)
Lecture 17: (Architecture V) Software System Design and Implementation ITCS/ITIS 6112/8112 091 Fall 2008 Dr. Jamie Payton Department of Computer Science University of North Carolina at Charlotte Oct. 30,
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 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 informationOBJECT ORIENTED MODELLING & DESIGN 1
OBJECT ORIENTED MODELLING & DESIGN 1 Contents 1. OBJECT ORIENTED CONCEPTS... 6 OBJECT... 6 CLASS... 6 CLASS vs OBJECT... 6 WHAT IS OBJECT ORIENTED?... 6 OBJECT ORIENTED METHODOLOGY... 7 ADVANTAGES OF OBJECT
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 informationChapter 5, Analysis: Dynamic Modeling
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 5, Analysis: Dynamic Modeling An overview of OOSE development activities and their products Problem Statement Requirements Elicitation
More information0. Database Systems 1.1 Introduction to DBMS Information is one of the most valuable resources in this information age! How do we effectively and efficiently manage this information? - How does Wal-Mart
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 informationWhat s Next. INF 117 Project in Software Engineering. Lecture Notes -Spring Quarter, Michele Rousseau Set 6 System Architecture, UML
What s Next INF 117 Project in Software Engineering Lecture Notes -Spring Quarter, 2008 Michele Rousseau Set 6 System Architecture, UML Set 6 2 Announcements kreqs should be complete Except minor changes
More informationUML (Unified Modeling Language)
UML (Unified Modeling Language) UML Outline Software Institute of Nanjing University 2009 Instructor 刘嘉 (Liu Jia) Email : liujia@software.nju.edu.cn ext : 509 Office : 705 2 References [1] The Unified
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 informationMULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
Exam Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. 1) A process has a: 1) A) pronoun label B) noun phrase label C) verb phrase label D) adjective
More informationTopics. Overview- The UML Functional Model. Structural Model. Behavioral Models. Use Case Diagram (essential and system)
Topics Overview- The UML Functional Model Use Case Diagram (essential and system) Structural Model Class/object, Component and Deployment Diagram Behavioral Models Activity, State chart, sequence /collaboration
More informationComponent Design. Systems Engineering BSc Course. Budapest University of Technology and Economics Department of Measurement and Information Systems
Component Design Systems Engineering BSc Course Budapest University of Technology and Economics Department of Measurement and Information Systems Traceability Platform-based systems design Verification
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 informationChapter 6: Entity-Relationship Model
Chapter 6: Entity-Relationship Model Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 6: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram
More informationHippo Software BPMN and UML Training
Hippo Software BPMN and UML Training Icon Key: www.hippo-software.co.uk Teaches theory concepts and notation Teaches practical use of Enterprise Architect Covers BPMN, UML, SysML, ArchiMate Includes paper
More information