Design Jon Walker. More UML ● What is UML again?

Slides:



Advertisements
Similar presentations
© 2005 by Prentice Hall Appendix 3 Object-Oriented Analysis and Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Advertisements

ARCH-05 Application Prophecy UML 101 Peter Varhol Principal Product Manager.
UML Diagrams Jung Woo. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, business.
UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall A.1.
2008/03/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
Object-Oriented Analysis and Design
Chapter 15: System Modeling with UML
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Lecture 12: Chapter 22 Topics: UML (Contd.) –Relationship Structural Behavioral –Diagram Structural Behavioral.
UML – Class Diagrams.
Activity, Collaboration, and Component Diagrams Philip Liew
Essentials of interaction diagrams Lecture Outline Collaborations Interaction on collaboration diagrams Sequence diagrams Messages from an object.
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
© Copyright Eliyahu Brutman Programming Techniques Course.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Sharif University of Technology1 Design and Use-case Realization Software Engineering Laboratory Fall 2006.
Lab 6 CPIT 250 System Analysis and Design.
SE-565 Software System Requirements More UML Diagrams.
An Introduction to Rational Rose Real-Time
Unified Modeling Language
Unified Modeling Language
UML Diagrams Computer Science I.
Class, Sequence and UML Model.  Has actors and use cases.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
Introduction to UML By: Prof. Aiman Hanna Department of Computer Science, Concordia University, Montreal, Canada.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Programming in Java Unit 3. Learning outcome:  LO2:Be able to design Java solutions  LO3:Be able to implement Java solutions Assessment criteria: 
1 UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.
Component & Deployment Diagram © copyright 2001 SNU OOPSLA Lab.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 15 System Modeling with the UML.
Activity & Class Modeling Labs Discussion p3 T120B pavasario sem.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
Object Oriented Software Development and UML
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
An Introduction to the Unified Modeling Language
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
Software Engineering Lecture 8 Object-Oriented Analysis.
OMT Modeling 1. Object Model : presented by the object model and the data dictionary. 2. Dynamic Model: presented by the state diagrams and event flow.
UML Part 1: Class Diagrams. Introduction UML stands for Unified Modeling Language. It represents a unification of the concepts and notations presented.
Chapter 16 UML Class Diagrams 1CS6359 Fall 2012 John Cole.
Chapter 3: Introducing the UML
Identifying classes, Packages and drawing class Diagrams, Object Diagrams and composite structure diagrams Week 07 1.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Technical Module C Object Modeling Objects Object – a valuable resource: Money (Account Receivable) Material (Product) Machines (Delivery Truck) Personnel.
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
1 IS 0020 Program Design and Software Tools Unified Modeling Language Lecture 13 April 13, 2005.
1 IS 0020 Program Design and Software Tools Unified Modeling Language Lecture 13 November 30, 2004.
Appendix 3 Object-Oriented Analysis and Design
CHAPTER
UML Diagrams By Daniel Damaris Novarianto S..
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Object-Oriented Techniques
Unified Modeling Language
UML Diagrams Jung Woo.
Business System Development
UML dynamic Modeling (Behavior Diagram)
Introduction to UML Introduction to UML Shiyuan Jin September,23,2002
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix A Object-Oriented Analysis and Design
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix A Object-Oriented Analysis and Design
Appendix 3 Object-Oriented Analysis and Design
Presentation transcript:

Design Jon Walker

More UML ● What is UML again?

UML (Unified Modeling Language) ● UML is a way to model a software system ● What does “model” mean? ● Each UML diagram is designed to let developers and customers view a software system from a different perspective and in varying degrees of abstraction ● UML diagrams commonly created in visual modeling tools include?

UML Diagrams ● Use Case ● Class ● Interaction (Sequence, Collaboration) ● State Diagrams ● Activity Diagram ● Physical Diagram (Component, Deployment)

Use Case Diagram ● Use Case Diagram displays the relationship among actors and use cases

Class Diagram ● Class Diagram models class structure and contents using design elements such as classes, packages and objects. It also displays relationships such as containment, inheritance, associations and others

Class Diagram

Interaction Diagrams ● Sequence Diagram displays the time sequence of the objects participating in the interaction. This consists of the vertical dimension (time) and horizontal dimension (different objects) ● Collaboration Diagram displays an interaction organized around the objects and their links to one another. Numbers are used to show the sequence of messages.

Sequence Diagram

Collaboration Diagram

State Diagrams ● State Diagram displays the sequences of states that an object of an interaction goes through during its life in response to received stimuli, together with its responses and actions.

State Diagram

Activity Diagrams ● Activity Diagram displays a special state diagram where most of the states are action states and most of the transitions are triggered by completion of the actions in the source states. This diagram focuses on flows driven by internal processing.

Activity Diagram

Physical Diagram ● Component Diagram displays the high level packaged structure of the code itself. Dependencies among components are shown, including source code components, binary code components, and executable components. Some components exist at compile time, at link time, at run times well as at more than one time. ● Deployment Diagram displays the configuration of run-time processing elements and the software components, processes, and objects that live on them. Software component instances represent run-time manifestations of code units.

Component Diagram

Why Would You Use... ● Use Case ● Class ● Interaction (Sequence, Collaboration) ● State Diagrams ● Activity Diagram ● Physical Diagram (Component, Deployment)

Class Diagrams Revisited ● What are the elements?

Class Icon ● Class ● Attribute ● Operation()

Composition ● The black diamond represents composition ● What would this code look like?

Circle Contains a Point

What Kind of a Relationship is Composition? ● How are objects/classes related?

Composition = Has A ● A circle “has a” point

Inheritance ● Arrowhead indicates inheritance

What Kind of a Relationship is Inheritance? ● How are objects/classes related?

Inheritance = Is A ● A circle “is a” shape

Aggregation ● An open diamond denotes the weak form of aggregation ● An aggregation is a whole/part relationship ● Note that the ends of the relationship are referred to as “roles” in UML

Aggregation ● What else do you notice about this diagram? ● What would the code look like?

Window Contains Shapes

Generic Associations ● Weaker than Aggregation ● Solid line with an arrow head ● How would this be implemented?

Dependency ● Even weaker than associations ● Dashed line with an arrow head ● How would this be implemented?

Others

What can you do with UML? ● Communicate to others ● Translate into code  Round trip engineering

Let's Try ● Google Calendar