1 © Wolfgang Pelz 2000-04UML3 UML 3 Notations describe how to use reusable software. Package Component Deployment Node.

Slides:



Advertisements
Similar presentations
1 CIS224 Software Projects: Software Engineering and Research Methods Lecture 9 Object, Package, Component and Deployment Diagrams (Based on Fowler, 2004,
Advertisements

Stereotypes Stereotypes provide the capability to create a new kind of modeling element. –They can be used to classify or mark modeling elements. –A type.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
COMPONENT DIAGRAM in UML 2.0 Veronica Carrega
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Architectural Modeling Notations.
Unified Modeling Language
UML Static diagrams. Static View: UML Component Diagram Component diagrams show the organization and dependencies among software components. Component:
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
C OMPONENT & D EPLOYMENT D IAGRAMS Hoang Huu Hanh, Hue University hanh-at-hueuni.edu.vn.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
7M701 1 Class Diagram advanced concepts. 7M701 2 Characteristics of Object Oriented Design (OOD) objectData and operations (functions) are combined 
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
COMS W4156: Advanced Software Engineering
UML Packages & Related Diagrams
Session 24 Modeling the Development Environment Written by Thomas A. Pender Published by Wiley Publishing, Inc. October 27, 2011 Presented by Hyewon Lim.
Implementation Yaodong Bi. Introduction to Implementation Purposes of Implementation – Plan the system integrations required in each iteration – Distribute.
An Introduction to Software Architecture
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Architecture: Component and Deployment Diagrams Patrick Bailey Keith Vander Linden Calvin College.
Modelling Class T16: Conceptual Modelling – Architecture Image from
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
Unified Modeling Language* Keng Siau University of Nebraska-Lincoln *Adapted from “Software Architecture and the UML” by Grady Booch.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
UML Diagrams A tool for presentation of Architecture.
UML Advanced Structural Modeling II
L6-S1 UML Overview 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
TAL7011 – Lecture 4 UML for Architecture Modeling.
Implementation Diagrams
R R R CSE870: UML Component Diagrams Implementation Diagrams.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Unified Modeling Language. Object Oriented Methods ► What are object-oriented (OO) methods?  OO methods provide a set of techniques for analyzing, decomposing,
Technology Layer. Technology Layer Metamodel Technology Layer Concepts.
Relationships Relationships between objects and between classes.
1 Class Diagrams. 2 Overview Class diagrams are the most commonly used diagrams in UML. Class diagrams are for visualizing, specifying and documenting.
Introduction to OOAD and the UML
Lab 5 CPIT 250 System Analysis and Design.
Software Engineering Lecture 8 Object-Oriented Analysis.
UML / UML 2.0 Diagrams (Part I) 1. Overview of the 13 diagrams of UML Structure diagrams 1.Class diagram 2.Composite structure diagram (*) 3.Component.
 Building Block Building Block  Things in the UML Things in the UML  Structural Things Structural Things  Behavioral Things Behavioral Things  Grouping.
COMPONENT DIAGRAM in UML 2.0 Veronica Carrega. PLAN OF TALK  Introduction about components  Components and component diagrams in uml 2.0  Case study.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Object Oriented Analysis and Design 1 Chapter 9 From Design to Implementation  Implementation Model  Forward, Reverse, and Round-Trip Engineering  Mapping.
INFO 620Lecture #71 Information Systems Analysis and Design Design Class Diagrams and others INFO 620 Glenn Booker.
310414IMPLEMENTATION1 IMPLEMENTATIONIMPLEMENTATION SOFTWARE ENGINEERING SOFTWARE ENGINEERING.
Identifying classes, Packages and drawing class Diagrams, Object Diagrams and composite structure diagrams Week 07 1.
ITEC0724 Modern Related Technology on Mobile Devices Lecture Notes #2 1.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
CS 501: Software Engineering Fall 1999 Lecture 15 Object-Oriented Design I.
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
R R R CSE870: UML Component Diagrams Implementation Diagrams.
Deployment Diagram.
CHAPTER
UML Diagrams: Class Diagrams The Static Analysis Model
UML Diagrams By Daniel Damaris Novarianto S..
Deployment Diagram.
Course Outcomes of Object Oriented Modeling Design (17630,C604)
COMPONENT & DEPLOYMENT DIAGRAMS
Object-Oriented Analysis and Design
OO Methodology OO Architecture.
UML Diagrams Jung Woo.
Unified Modeling Language
UNIT – V.
IMPORTANT NOTICE TO STUDENTS:
Analysis models and design models
An Introduction to Software Architecture
Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Design Yaodong Bi.
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Software Development Process Using UML Recap
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
Presentation transcript:

1 © Wolfgang Pelz UML3 UML 3 Notations describe how to use reusable software. Package Component Deployment Node

2 © Wolfgang Pelz UML3 Package Diagram general purpose grouping mechanism to organize semantically related model elements can be considered a special case of a class diagram define a namespace or context (container) within which each name must be unique

3 © Wolfgang Pelz UML3 Package Diagram can be nested (implied import of parent) may hide their contents

4 © Wolfgang Pelz UML3 Package Notation

5 © Wolfgang Pelz UML3 Properties a package may own other elements, including classes, interfaces, components, nodes, collaborations, use cases, diagrams, and other packages ownership is a composite relationship - if the enclosing package is destroyed, then the enclosed elements are also destroyed

6 © Wolfgang Pelz UML3 Visibility specifiers: public - element is visible to a package that imports the element’s enclosing package protected - element is visible to a package that inherits from another package private - element is not visible outside the package

7 © Wolfgang Pelz UML3 More visibility public parts of a package constitute the package’s interface friend dependency relationship: two packages that are friends may see all elements in the packages, independent of visibility

8 © Wolfgang Pelz UML3 Usage model an import relationship with the stereotype import on the dependency stereotype access permits usage without adding contents to namespace; requires fully qualified name public parts of package are called its exports

9 © Wolfgang Pelz UML3 Standard Stereotypes facade: package is a view on another package framework: package consists of patterns stub: proxy for public contents of another package subsystem: independent part of the entire system being modeled system: represents entire system being modeled

10 © Wolfgang Pelz UML3 Example

11 © Wolfgang Pelz UML3 Package Dependency elements of the dependent package know about or are coupled to elements in the target package a dependency between two packages exists if there is a dependency between any two classes in those packages dependencies are not transitive rule of thumb: reduce # of dependencies (why?)

12 © Wolfgang Pelz UML3 Dependency Example

13 © Wolfgang Pelz UML3 Component Diagram a component represents the physical packaging of related elements such as classes, interfaces, and collaborations defined as “a reusable part that provides the physical packaging of a collection of model element instances” typically a component is an implementation file in the development environment

14 © Wolfgang Pelz UML3 Software Component source component: source code implementing one or more classes; meaningful at compile-time binary component: object code that is a result of compiling a source component, e.g., object code file, static library file, or dynamic library file

15 © Wolfgang Pelz UML3 Software Component Executable component: executable program that is the result of linking all binary components

16 © Wolfgang Pelz UML3 Component is physical: lives in the world of bits, not concepts is replaceable or substitutable is part of a system; does not stand alone conforms to and provides the realization of a set of interfaces

17 © Wolfgang Pelz UML3 Notation

18 © Wolfgang Pelz UML3 Example

19 © Wolfgang Pelz UML3 Another Example

20 © Wolfgang Pelz UML3 Understanding the Example Realization: inheritance, class relationship, one class is part of the definition of the other. Dependency: uses, object relationship, one object uses another object. –Inclusion: one object is part of the other object –Call: one object calls a method of the other

21 © Wolfgang Pelz UML3 Deployment Diagram shows physical relationships among software and hardware components each node represents some kind of computational resource, usually a piece of hardware (e.g., computer, printer, card reader, sensor) a node exists at run-time

22 © Wolfgang Pelz UML3 Architecture see which components are executing in a node see which logical elements (classes, objects, collaborations, etc.) are implemented in the component be able to trace the element to the initial requirement analysis of the system (typically through the use case diagram)

23 © Wolfgang Pelz UML3 Node Notation

24 © Wolfgang Pelz UML3 Dependency (Component) Run-time Relationship

25 © Wolfgang Pelz UML3 Supports Relationship (Node) Part of : a node hosts a component Static

26 © Wolfgang Pelz UML3 Becomes Relationship migration of components or objects

27 © Wolfgang Pelz UML3 Becomes Relationship migration of components or objects The directory (object) /home/vonneumann/faculty/xiao on Samba Server (node) becomes “z:” drive (object) on my laptop (node)