A little bit of UML Csaba Veres. UML A de facto standard for OO analysis and design Many components class diagrams use cases interaction diagrams...

Slides:



Advertisements
Similar presentations
ARCH-05 Application Prophecy UML 101 Peter Varhol Principal Product Manager.
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.
Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
Software Engineering OO Analysis (Object-Relationship and Object-Behaviour Models)
CS 340 UML Class Diagrams. A model is an abstraction of a system, specifying the modeled system from a certain viewpoint and at a certain level of abstraction.
Unified Modeling Language
Lecture 12: Chapter 22 Topics: UML (Contd.) –Relationship Structural Behavioral –Diagram Structural Behavioral.
1 © Wolfgang Pelz UML3 UML 3 Notations describe how to use reusable software. Package Component Deployment Node.
CS 425/625 Software Engineering System Models
Lecture Eleven Entity-Relationship Modelling
IMS1805 Systems Analysis Topic 3: Doing Analysis (continued from previous weeks)
IMSE 11 - UML Class Diagrams
© Copyright Eliyahu Brutman Programming Techniques Course.
Sharif University of Technology1 Design and Use-case Realization Software Engineering Laboratory Fall 2006.
UML class diagrams (1) UML = Unified Modeling Language We use only class diagrams, not other UML diagrams Purpose: –keep OO concepts separate from implementation.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra,
The Unified Modeling Language (UML) Class Diagrams.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
Geog 495 GIS Database Design Midterm review. Outlines 1.Database Concepts 2.Relational Database 3.Object-oriented Database 4.Entity-Relationship Diagram.
Conceptual Data Modeling. What Is a Conceptual Data Model? A detailed model that shows the overall structure of organizational data A detailed model.
1 SYS366 Lecture Visual Modeling and Business Use Case Diagrams.
Lecture 3: Visual Modeling & UML 1. 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship via “ Modeling.
3rd Country Training, K.Subieta: System Engineering and Databases. Lecture 3, Slide 1 February 20, 2004 Lecture 3: Introduction to Software Analysis and.
Object Oriented Analysis & Design & UML (Unified Modeling Language)1 Part V: Design The Design Workflow Design Classes Refining Analysis Relationships.
1 UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.
Lab 04.
Distributed Java Programming Distributed Java Programming Class #2 August 22, 2002.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
7-1 © Prentice Hall, 2004 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
1 5 Modeling Techniques A line manager states, “I know the Chinese say one picture is worth 1,000 words but these diagrams, there are so many that I’d.
7-1 © Prentice Hall, 2007 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
7-1 © Prentice Hall, 2007 Week 5: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
Unified Modeling Language © 2002 by Dietrich and Urban1 ADVANCED DATABASE CONCEPTS Unified Modeling Language Susan D. Urban and Suzanne W. Dietrich Department.
Chapter 16 Applying UML and Patterns Craig Larman
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
UML Diagrams A tool for presentation of Architecture.
Fall 2010 CS4310 Requirements Engineering A Brief Review of UML & OO Dr. Guoqiang Hu Department of Computer Science UTEP 1.
Domain Model Classes and Objects Association Structure Requirement Specification Domain Model.
Week III  Recap from Last Week Review Classes Review Domain Model for EU-Bid & EU-Lease Aggregation Example (Reservation) Attribute Properties.
Unified Modeling Language. Object Oriented Methods ► What are object-oriented (OO) methods?  OO methods provide a set of techniques for analyzing, decomposing,
Design Model Lecture p6 T120B pavasario sem.
1Mr.Mohammed Abu Roqyah. Database System Concepts and Architecture 2Mr.Mohammed Abu Roqyah.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Class diagrams Terézia Mézešová.
 Class diagrams show the classes of the system, their interrelationships (including inheritance, aggregation, and association), and the operations and.
CLASS DIAGRAMS A classy approach to objects. The Basic Class Diagram  Class Name  Attributes (- indicates private each would have properties or accessor/mutator.
Class Relationships Lecture Oo07 Generalization Relationships.
Kyung Hee University Class Diagramming Notation OOSD 담당조교 석사과정 이정환.
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.
BTS430 Systems Analysis and Design using UML Design Class Diagrams (ref=chapter 16 of Applying UML and Patterns)
Class Diagrams Revisited. Parameterized Classes Parameterized Classes - are used to represent relationships between templates.
1 SYS366 Week 2 - Lecture 2 Visual Modeling & UML.
Object Oriented Analysis & Design By Rashid Mahmood.
Software Modelling Class Diagram. Class Diagrams The main building block in object oriented modeling They are used both for general conceptual modeling.
Object-oriented and Structured System Models
Object-Oriented Modeling with UML
Chapter 8 Analysis & Modeling
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
ניתוח מערכות מידע א' הרצאה 3
Entity-Relationship Modeling
UML Class Diagram.
Understand and Use Object Oriented Methods
Business Analysis More on Classes Chris Russell O2.41
Software Analysis.
Social Practice of the language: Describe and share information
Presentation transcript:

A little bit of UML Csaba Veres

UML A de facto standard for OO analysis and design Many components class diagrams use cases interaction diagrams...

Perspectives Conceptual model (analysis) language independent often no direct mapping from concepts to classes Specification (design) interface, not implementation types rather than classes a type can have many implementations as classes Implementation classes, methods, etc.

Associations a conceptual relationship between classes an Order comes from a single Customer and one Customer can make several Orders a specification of responsibility a Customer knows about its Orders an implementation of pointers or some sort of reference class Customer { private Vector _orders;

Detail Concept model: multiplicity Implementation model: navigability

Multiplicity (cardinality)

Navigability

> a high-level classification of the ”sort of” object an object is controller interface suggests certain general responsibilities can be used to extend basic UML semantics can stereotype classes, relationships, etc.

Multiple classification an object may be described by several types not necessarily connected by inheritance i.e. multiple classification  multiple inheritance mi states that an object must have a single type (with several supertypes) mc states that an object could be defined as one of several types, depending on the purpose

Multiple classification (2) Legal objects: (Female,Patient,Nurse) (Male,Physiotherapist) (Female,Doctor,Surgeon) Illegal objects (Patient,Doctor) (Male,Doctor,Nurse)

Dynamic classification

Aggregation and composition

person male female gender  {} Person Male Female sex {complete} Gender type {complete} must be male or female Gender

partition PersonGender >