Identifying classes, Packages and drawing class Diagrams, Object Diagrams and composite structure diagrams Week 07 1.

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

UML Diagrams Jung Woo. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, business.
Deployment Diagrams Depicts a static view of the run-time configuration of Nodes.
® 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.
2008/03/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
UML Static diagrams. Static View: UML Component Diagram Component diagrams show the organization and dependencies among software components. Component:
C OMPONENT & D EPLOYMENT D IAGRAMS Hoang Huu Hanh, Hue University hanh-at-hueuni.edu.vn.
1 © Wolfgang Pelz UML3 UML 3 Notations describe how to use reusable software. Package Component Deployment Node.
Component and Deployment Diagrams
Package Diagram CS537 Advanced Software Engineering Fall 2010 Prof. J Guo Presented By: Patel Vishrut Patel Harshil Gadhiya Yogesh Dhola Haresh.
SE-565 Software System Requirements More UML Diagrams.
Unified Modeling Language
Object-Oriented Analysis and Design
01 November 2007Kaiser: COMS W4156 Fall COMS W4156: Advanced Software Engineering Prof. Gail Kaiser
COMS W4156: Advanced Software Engineering
UML Packages & Related Diagrams
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Architecture: Component and Deployment Diagrams Patrick Bailey Keith Vander Linden Calvin College.
Session 24 Modeling the Development Environment Written by Thomas A. Pender Published by Wiley Publishing, Inc. October 27, 2011 Presented by Hyewon Lim.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Session 26 Modeling the Static View: The Deployment Diagram Written by Thomas A. Pender Published by Wiley Publishing, Inc. October 27, 2011 Presented.
Modelling Class T16: Conceptual Modelling – Architecture Image from
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
Modeling Component-based Software Systems with UML 2.0 George T. Edwards Jaiganesh Balasubramanian Arvind S. Krishna Vanderbilt University Nashville, TN.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
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: The Static Model Class Diagrams. The Static Model Define the static structure of the logical model Represent classes, class hierarchies.
CBSE 2014 Modeling Components with UML. Bibliography Modelling components in UML – Main text: Kim Hamilton, Russell Miles, Learning UML 2.0, OReilly,
TAL7011 – Lecture 4 UML for Architecture Modeling.
Design Jon Walker. More UML ● What is UML again?
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Technology Layer. Technology Layer Metamodel Technology Layer Concepts.
Component, Deployment and Package Diagrams CSIS3600.
Unified Modelling Language (UML) Software Engineering Lab. Sharif University of Technology.
 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.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 32. Review Behavioral Patterns – Observer Pattern – Chain of command.
Chapter 16 UML Class Diagrams 1CS6359 Fall 2012 John Cole.
Chapter 3: Introducing the UML
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 14 Slide 1 Object-Oriented Design.
UML (Unified Modeling Language)
OOS SQUARE SQUARE Lab Deployment Diagram *UML 2 and the Unified Process Second Edition 을 인용하여 작성됨.
Deployment Diagram.
Method – Notation 8 Hours.
CHAPTER
UML Diagrams: Class Diagrams The Static Analysis Model
UML(Unified Modeling Language)
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
Unified Modeling Language
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
Deployment Diagram.
UML dynamic Modeling (Behavior Diagram)
UML Diagrams: The Static Model Class Diagrams
Identifying classes, Packages and drawing class Diagrams , Object Diagrams and composite structure diagrams Week 06.
CBSE 2014 Modeling Components with UML
More Model Elements.
Unified Modelling Language
CIS 375 Bruce R. Maxim UM-Dearborn
Analysis models and design models
Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
CIS 375 Bruce R. Maxim UM-Dearborn
Presentation transcript:

Identifying classes, Packages and drawing class Diagrams, Object Diagrams and composite structure diagrams Week 07 1

Deployment Diagram Shows the physical architecture of a computer- based system. It can show – the computers and devices, – their connections with one another – the software that sits on each machine

Deployment diagram UML deployment diagramUML deployment diagram depicts a static view of the run-time configuration of hardware nodes and the software components that run on those nodes. Deployment diagrams show the hardware for your system, the software that is installed on that hardware, and the middleware used to connect the disparate machines to one another.

Used for distributed systems only. The main hardware item is a node, a generic name for any kind of computing resource. Node is specialized by: device execution environment UML node icon

Deployment diagram

artifact artifact is a classifier that represents some physical entity, a piece of information that is used or is produced by a software development process, or by deployment and operation of a system. Artifact is a source of a deployment to a node.classifierdeploymentnode Some real life examples of artifacts are: text document source file script binary executable file archive file table in a database

Associations between Artifacts Artifacts can be involved in associations to other artifacts, e.g. composition associations. For instance, a deployment descriptor artifact for a component may be contained within the artifact that manifests that component.associationscompositionmanifests Application book-club.ear artifact contains EJB user-service.jar artifact and deployment descriptor.

Dependency between artifacts is notated in the same way as general dependency,dependency i.e. as a general dashed line with an open arrow head directed from client artifact to supplier artifact. The book-club.war artifact depends on web-tools- lib.jar artifact.

Object diagram UML 2 Object diagrams (instance diagrams), are useful for exploring real world examples of objects and the relationships between them. It shows instances instead of classes. They are useful for explaining small pieces with complicated relationships, especially recursive relationships. UML 2 Object diagrams

Object diagram

package UML package helps to organize and arrange model elements and diagrams into logical groups, through which you can manage a chunk of project data together. UML You can also use packages to present different views of the system's architecture.

Package diagram visualizes packages and depicts the – Dependency – import – access – generalization – realization and merge relationships between them.

The members of the package may be shown within the boundaries of the package. In this case the name of the package should be placed on the tab. Package org.hibernate contains SessionFactory and Session

Members of the package may be shown outside of the package by branching lines from the package to the members. A plus sign (+) within a circle is drawn at the end attached to the namespace (package). This notation for packages is semantically equivalent to composition (which is shown using solid diamond.)composition

Package org.hibernate contains interfaces SessionFactory and Session

visibility Owned and imported elements may have a visibility that determines whether they are available outside the package. If an element that is owned by a package has visibility, it could be only public or private visibility. Protected or package visibility is not allowed. The visibility of a package element may be indicated by preceding the name of the element by a visibility symbol ("+" for public and "-" for private).

visibility All elements of Library Domain package are public except for Account

Package can be used as a template for other packages. Note, that [UML Specification] inconsistently calls it both package template and template package.template[UML Specification]

Package merge A package merge is a directed relationship between two packages that indicates that content of one package is extended by the contents of another package.directed relationship Package merge is similar to generalization in the sense that the source element conceptually adds the characteristics of the target element to its own characteristics resulting in an element that combines the characteristics of both.generalization

A keyword is shown near the dashed arrow to identify which kind of package import is intended. The predefined keywords are «import» for a public package import, and «access» for a private package import. By default, the value of visibility is public Private import of Presentation package and public import of Domain package

ML Kernel package merges Constructs package which imports Primitive Types.

Package diagram UML 2 Package diagrams simplify complex class diagrams, it can group classes into packages. A package is a collection of logically related UML elements. Packages are depicted as file folders and can be used on any of the UML diagrams. UML 2 Package diagrams

Package diagram

Composite structure diagram UML 2 Composite structure diagrams used to explore run-time instances of interconnected instances collaborating over communications links. It shows the internal structure (including parts and connectors) of a structured classifier or collaboration. UML 2 Composite structure diagrams

Composite structure diagram

END 30