UML Diagrams: The Static Model Class Diagrams. The Static Model Define the static structure of the logical model Represent classes, class hierarchies.

Slides:



Advertisements
Similar presentations
Modelling Class T05 Conceptual Modelling – Domain References: –Conceptual Modeling of Information Systems (Chapters 1.2.1, 2, 3) –A practical Guide to.
Advertisements

Object-oriented modeling Class/Object Diagrams
UML Class and Sequence Diagrams Violet Slides adapted from Marty Stepp, CSE 403, Winter 2012 CSE 403 Spring 2012 Anton Osobov.
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Copyright W. Howden1 Lecture 11: UML Terminology and Additional Models and Notation.
7M701 1 Class Diagram advanced concepts. 7M701 2 Characteristics of Object Oriented Design (OOD) objectData and operations (functions) are combined 
1 SWE Introduction to Software Engineering Lecture 15 – System Modeling Using UML.
Page 1  Copyright © 1997 by Rational Software Corporation Class Diagrams A class diagram shows the existence of classes and their relationships in the.
Lecture a: Additional UML Models: Package, Activity, Deployment Lecture b: Generalization, Aggregation and Additional Domain Model Notation Copyright W.
Unified Modeling Language
The Unified Modeling Language (UML) Class Diagrams.
Object-Oriented Analysis and Design
UML Diagrams Computer Science I.
CS 2511 Fall UML Diagram Types  2 Main Types Structure Diagrams ○ Class Diagrams ○ Component Diagrams ○ Object Diagrams Behavior Diagrams ○
 2008 Pearson Education, Inc. All rights reserved (Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements.
ZEIT2301 Design of Information Systems Structural Design: Class Diagrams School of Engineering and Information Technology Dr Kathryn Merrick.
Software Construction Lecture 5 Class Diagrams. Agenda 2  Topics:  Examples of class diagrams  Navigation, visibility, named associations, and multiplicity.
Page 1 What is the UML? UML stands for Unified Modeling Language The UML combines the best of the best from – Data Modeling concepts (Entity Relationship.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
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.
Lab 04.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
Domain Modeling Part2: Domain Class Diagram Chapter 4 pp part 2 1.
Unit 1 INTRODUCTION TO MODELING AND CLASS MODEL Ref : L7-UML.PDF.
Chapter 16 Applying UML and Patterns Craig Larman
1 Class Diagrams: Advanced Concepts. 2 Overview Class diagrams are the most commonly used diagrams in UML. Class diagrams are the most commonly used diagrams.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Advanced UML Class Diagrams.
An Introduction to the Unified Modeling Language
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
What is a Structural Model?
Class Diagram. Classes Software Design (UML) Class Name attributes operations A class is a description of a set of objects that share the same attributes,
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Static Modeling Chapter 8 Part of Requirements Modeling Designing Concurrent, Distributed, and Real-Time Applications with UML Hassan Gomaa (2001)
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.
CS212: Object Oriented Analysis and Design Lecture 33: Class and Sequence Diagram.
Chapter 16 UML Class Diagrams 1CS6359 Fall 2012 John Cole.
Analysis Yaodong Bi. Introduction to Analysis Purposes of Analysis – Resolve issues related to interference, concurrency, and conflicts among use cases.
Identifying classes, Packages and drawing class Diagrams, Object Diagrams and composite structure diagrams Week 07 1.
CLASS DIAGRAMS A classy approach to objects. The Basic Class Diagram  Class Name  Attributes (- indicates private each would have properties or accessor/mutator.
Object and Class Structuring Chapter 9 Part of Analysis Modeling Designing Concurrent, Distributed, and Real-Time Applications with UML Hassan Gomaa (2001)
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
UML Fundamental Elements. Structural Elements Represent abstractions in our system. Elements that encapsulate the system's set of behaviors. Structural.
UML CSE 470 : Software Engineering. Unified Modeling Language UML is a modeling language to express and design documents, software –Particularly useful.
DOMAIN CLASSES – PART 1 BTS430 Systems Analysis and Design using UML.
Deployment Diagram.
Appendix 3 Object-Oriented Analysis and Design
CHAPTER
UML Diagrams: Class Diagrams The Static Analysis Model
UML Diagrams By Daniel Damaris Novarianto S..
Lec-4 : Unified Modeling Language (UML)
Jim Fawcett CSE681 – Software Modeling and Analysis Fall 2017
Deployment Diagram.
Main issues: • What do we want to build • How do we write this down
Course Outcomes of Object Oriented Modeling Design (17630,C604)
UML Diagrams Jung Woo.
UML Diagrams: The Static Model Class Diagrams
Object Oriented Analysis and Design
Domain Class Diagram Chapter 4 Part 2 pp
Software Engineering Lecture #11.
CIS 375 Bruce R. Maxim UM-Dearborn
IMPORTANT NOTICE TO STUDENTS:
Understand and Use Object Oriented Methods
CIS 375 Bruce R. Maxim UM-Dearborn
Object Oriented System Design Class Diagrams
Presentation transcript:

UML Diagrams: The Static Model Class Diagrams

The Static Model Define the static structure of the logical model Represent classes, class hierarchies using packages and their relationships, Evolve in three phases the conceptual phase, the analysis phase, and the design phase.

The conceptual Level At the conceptual phase, classes are defined based on the classes found in the problem domain descriptions, A context class diagram is defined first, where the system under development is represented by one package and external classes representing the actors

Context Class Diagram > Input Devices System under development > Output Devices

The conceptual Level The system package is defined by a diagram representing the main subsystems and interface classes to external classes Each subsystem is represented by a class diagram defining the classes of objects needed to realize the use cases define in the use case diagrams

The conceptual Level Monitors > Input_devices Controllers > Output_devices

The Analysis Level At the analysis level, subsystem class diagrams are refined by adding attributes and methods depicting how objects of the static view are used to realize use cases in sequence diagrams Emphasis is placed on distributing behavior, resolving software interfaces, and identifying generalization relationships that will maximize the effectiveness of the object model

The Class Diagram Notation Classes, their attributes and methods are specified based on the objects needed to realized use case and interfaces to external entities

Class relationships Association Aggregation/Composition Parent Generalization

Associations Between Classes Associations between classes are generally shown as solid lines connecting the associated classes. A notable exceptions to the solid line rule are the use of dashed lines to depict dependencies as special case of association,

Dependency: A Special Case of Association Dependency CommandManager (Client class) depends on services provided by the other three server classes Client

Aggregation Relation Aggregation – A hollow diamond is attached to the end of the path to indicate aggregation. The diamond is attached to the class that is the aggregate. Aggregation provides a definitive conceptual whole part relationship

Composition: A Special Case of Aggregation Composition is shown as a solid filled diamond, with the diamond attached to the class that is the composite. Composition is a form of aggregation that requires coincident lifetime of the part with the whole and singular ownership; i.e. the part is owned by only one whole and is deleted when the whole is deleted

Generalization/Specialization Relation Generalization is shown as a solid-line arrow from the child (the more specific element) to the parent (the more general elementthis type of relationship is also called inheritance. Should be used to define class hierarchies based on abstraction

Generalization/Specialization Relation Controllers and Monitors are examples of abstract classes Controller Brake Controller Engine Controller