The generalization of class

Slides:



Advertisements
Similar presentations
UML and Classes, Objects and Relationships [1]
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.
Analysis Modeling Static Modeling.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Architectural Modeling Notations.
UML Class and Sequence Diagrams Violet Slides adapted from Marty Stepp, CSE 403, Winter 2012 CSE 403 Spring 2012 Anton Osobov.
UML – Class Diagrams.
Chapter 16. Fig Fig Note: If Sale references nothing then the only thing it is associated with is what references it Note: association name.
Design Patterns in Java Appendix D UML at a Glance Summary prepared by Kirk Scott 1.
What is UML? A modeling language standardized by the OMG (Object Management Group), and widely used in OO analysis and design A modeling language is a.
UML a crash course Alex Lo Brian Kiefer. Overview Classes Class Relationships Interfaces Objects States Worksheet.
Modelling classes Drawing a Class Diagram. Class diagram First pick the classes –Choose relevant nouns, which have attributes and operations. Find the.
1 TCSS 360, Spring 2005 Lecture Notes Design Phase and UML Class Diagrams Relevant Reading: UML Distilled, Third Edition M. Fowler.
Unified Modeling Language
Object-Oriented Analysis and Design
Introduction to Java Class Diagrams. Classes class Account { … } Account.
UML Review – class diagrams SE 2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.
UML Class Diagrams and Caché CAMTA Meeting – 1 st December 2011 John Murray Senior Product Engineer.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
Chapter 16 Applying UML and Patterns Craig Larman
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 03. Classes,
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Advanced UML Class Diagrams.
UML Class Diagrams 1 These lecture slides are copyright (C) Marty Stepp, They may not be rehosted, sold, or modified without expressed permission.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
Using COMET with Visio Visio UML Modeling. Creating a Drawing After opening Visio, you will see a list of templates available.
Class Diagram Classes are the most important building block of any object-oriented system. A class is a description of a set of objects that share the.
Appendix D UML at a Glance Summary prepared by Kirk Scott 1.
Design Model Lecture p6 T120B pavasario sem.
1 Class Diagrams. 2 Overview Class diagrams are the most commonly used diagrams in UML. Class diagrams are for visualizing, specifying and documenting.
UML Class Diagram. A class diagram shows 1.Classes 2.The relationships between them.
CS212: Object Oriented Analysis and Design Lecture 33: Class and Sequence Diagram.
Class diagrams Terézia Mézešová.
Chapter 16 UML Class Diagrams 1CS6359 Fall 2012 John Cole.
 Class diagrams show the classes of the system, their interrelationships (including inheritance, aggregation, and association), and the operations and.
Chapter 16 UML Class Diagrams.
Chapter 3: Introducing the UML
ITEC0724 Modern Related Technology on Mobile Devices Lecture Notes #2 1.
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 diagram Lection №2. Plan  Class: name, attributes, operations.  Relationships between classes.  Interfaces.  Objects.  Templates.  Recommendations.
UML Review – class diagrams SE-2030 Dr. Mark L. Hornick 1.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2006 Classes and Objects Patrick Bailey Keith Vander Linden Calvin College.
CS 350 – Software Design UML – The Unified Modeling Language – Chapter 2 The Unified Modeling Language is a visual language used to create models of programs.
COP 3330 Notes 4/13. Today’s Topics UML Class Diagrams.
TCSS 305 (Stepp) OO Design with UML Class Diagrams
UML Diagrams: Class Diagrams The Static Analysis Model
Structural Modeling.
Unified Modeling Language
UML Class Diagrams (more notation)
Object-Oriented Analysis and Design
Chapter 16 UML Class Diagrams.
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Lecture on Design Phase and UML Class Diagrams
Today’s Objectives Define the Problem Domain
State Machine Diagrams
Class Diagram Details CS 124.
Object Oriented Analysis and Design
CS 426 Senior Projects Chapter 9: Relationships
Software Engineering Lecture #11.
Objects, Classes, and Basic Class Diagrams
Class Diagrams.
Objects, Classes, and Basic Class Diagrams
Copyright 2007 Oxford Consulting, Ltd
Class Diagrams Class diagram is basically a graphical representation of the static view of the system and represents different aspects of the application.
Static Modeling using Class Diagrams
Class Diagram.
Introduction to UML Sources:
Chapter 16 Class Diagrams.
Object Oriented System Design Class Diagrams
Information System Design
2 UML for OOAD 2.1 What is UML? 2.2 Classes in UML
Presentation transcript:

The generalization of class Classifier The generalization of class

Classifiers represent nouns Classes Objects But also non-CS objects Organizations People

Symbol A simple rectangle with a name A partitioned rectangle

Classifier Names Simple - myClass Path – java::awt::Rectangle Name in italics means Abstract

Name Attributes Operations Additional Partitions Responsibilities Exceptions

Attribute Syntax [visibility] name [multiplicity] [: type] [= initial value] [{property string}] Visibility Public “+”, Private “-”, protected “#” Multiplicity “[0..1]”, “[1..*]” Class Attribute (e.g. static) is underlined Properties: “frozen”, “addOnly”

Operation Syntax [visibility] name [(parameter-list)] [: type] [= initial value] [{property string}] Parameter-list items: [direction] name :type [= default value] Directions is “in”, “out”, “inout” Properties “isQuery”, “sequential”, “guarded”, “concurrent”

Stereotyping <<interface>> RsClient

Relationships with Classifiers <<interface>> Generalization Association (navigation) Realization

Associations Mult. Mult. Role Role Directionality with an arrow Composition (when solid) Aggregation

Dependency <<interface>>

Kinds of Dependency (Stereotypes) Friend instanceOf Use Include Extend Call

Classifiers Appear in many of the nine diagrams Syntax shown here is also extend in consistent ways to other diagrams and symbols