Training: INSPIRE Basics EC JRC 1/15 UML class diagram: example INSPIRE UML class diagram for administrative units.

Slides:



Advertisements
Similar presentations
Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
Advertisements

UML (cont.) “The Unified Modeling Language User Guide” by G. Booch, J. Rumbaugh and I. Jacobson ● Classes ● Relationships ● Class diagrams ● Examples.
Object-oriented modeling Class/Object Diagrams
Unified Modeling Language Philip Liew
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.
UML Class Diagram and Packages Written by Zvika Gutterman Adam Carmi.
UML Class Diagram. UML Class Diagrams2 Agenda What is a Class Diagram? Essential Elements of a UML Class Diagram Tips.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
UML Class Diagram and Packages Written by Zvika Gutterman Adam Carmi.
UML Class Diagram and Packages Written by Zvika Gutterman Adam Carmi.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Class Diagram & Object Diagram
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
7M822 UML Class Diagrams advanced concepts 15 September 2008.
7M822 UML Class Diagrams advanced concepts 14 October 2010.
The Unified Modeling Language (UML) Class Diagrams.
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
ECE 355: Software Engineering
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
UML and its Use-Case Modeling Professor Chen School of Business Gonzaga University Spokane, WA 99258
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Object Oriented Analysis & Design & UML (Unified Modeling Language)1 Part V: Design The Design Workflow Design Classes Refining Analysis Relationships.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
R McFadyen Chapter 7 Conceptual Data Modeling.
1 UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
Class Modeling. Basic Class Modeling Concepts Object Class Link Association Generalization Inheritance.
Databases : Data Modeling 2007, Fall Pusan National University Ki-Joune Li.
Unified Modeling Language © 2002 by Dietrich and Urban1 ADVANCED DATABASE CONCEPTS Unified Modeling Language Susan D. Urban and Suzanne W. Dietrich Department.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 03. Classes,
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 Class Diagram Trisha Cummings. What we will be covering What is a Class Diagram? Essential Elements of a UML Class Diagram UML Packages Logical Distribution.
Lecture 1: UML Class Diagram September 12, UML Class Diagrams2 What is a Class Diagram? A class diagram describes the types of objects in the system.
2007ACS-3913 Ron McFadyen1 Class Diagram See Schaum’s UML Outline, especially chapters 4, 5, 6, 7.
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,
Class and Sequence diagrams UML notation SE-2030 Dr. Mark L. Hornick 1.
Design Model Lecture p6 T120B pavasario sem.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
1 Software Engineering Dr. K. T. Tsang Lecture 5 Class modeling
Software Engineering Lecture 8 Object-Oriented Analysis.
UML Class Diagram. A class diagram shows 1.Classes 2.The relationships between them.
Class Diagram Chapter 21 Applying UML and Patterns Craig Larman.
CS212: Object Oriented Analysis and Design Lecture 33: Class and Sequence Diagram.
AIXM 5 UML Modelling Conventions. AIXM is GML AIXM is an XML exchange standard based on a subset of GML. Essentially: –AIXM Features are GML features.
Class diagrams Terézia Mézešová.
Chapter 16 UML Class Diagrams 1CS6359 Fall 2012 John Cole.
Object Modeling THETOPPERSWAY.COM. Object Modelling Technique(OMT)  Building a model of an application domain and then adding implementation.
CLASS DIAGRAMS A classy approach to objects. The Basic Class Diagram  Class Name  Attributes (- indicates private each would have properties or accessor/mutator.
Class Diagram Lecture # 1. Class diagram A Class Diagram is a diagram describing the structure of a system shows the system's classes Attributes operations.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Data Modeling Using the Entity- Relationship (ER) Model
Unified Modeling Language (UML)
Object-Orientated Analysis, Design and Programming
UML Diagrams: Class Diagrams The Static Analysis Model
COMP 2710 Software Construction Class Diagrams
Chapter 16 UML Class Diagrams.
Object-Oriented Modeling with UML
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
The OO Solution The OO model closely resembles the problem domain
IDEF1X Standard IDEF1X (Integrated Definition 1, Extended) was announced as a national standard in 1993 It defines entities, relationships, and attributes.
Object Oriented Analysis and Design
Seminar 3 UML Class Diagram.
Object Oriented Analysis and Design Using the UML
UML Class Diagram.
Understand and Use Object Oriented Methods
Business Analysis More on Classes Chris Russell O2.41
System Analysis and Design
AIXM 5 UML Modelling Conventions
Information System Design
Presentation transcript:

Training: INSPIRE Basics EC JRC 1/15 UML class diagram: example INSPIRE UML class diagram for administrative units

Training: INSPIRE Basics EC JRC 2/15 UML (Unified Modeling Language)

Training: INSPIRE Basics EC JRC 3/15 Class Definition: description of a set of objects that share the same attributes, operations, relationships, and semantics. Objects are also called «instances» of the class

Training: INSPIRE Basics EC JRC 4/15 Class Car + seatNumber : Integer + colour : Colour [1..*] visibility class name (convention: UpperCamelCase) attribute name (convention: lowerCamelCase) attribute type multiplicity – [min..max] (default: exactly 1) « A car is characterised by a seat number and one or several colors. »

Training: INSPIRE Basics EC JRC 5/15 Inheritage / generalisation Definition: taxonomic relationship between a more general element and a more specific element. Representation: ClassA ClassB « A ClassB instance is also a ClassA instance » « ClassB instances share the same characteristics as Class A instances » « ClassB specialises ClassA » « ClassA is more abstract / generalised than ClassB »...

Training: INSPIRE Basics EC JRC 6/15 Inheritage / generalisation Bus passengerNb : Integer Vehicle ownerName : String Boat draft : Float Car constructionDate : Date « Cars, boats, and buses are vehicles » « All vehicles have a construction date » « A bus is a vehicle with a passenger number value » … abstract classes (shown in italics) cannot have instances

Training: INSPIRE Basics EC JRC 7/15 Association ClassAClassB c..d a..b AssotiationName roleA roleB CompanyPerson 0..* 1..* Employment employer employee Definition: relationship between classes that specifies connections between their instances Example:

Training: INSPIRE Basics EC JRC 8/15 Multiplicity CompanyPerson 0..* Employment employer employed Individual « Companies and persons are linked with an employment relation » « A person can be employed by zero, one or several companies » « A company can employ zero, one or several persons » Kinship « There is a kinship relation between individuals » « All individuals have exactly 2 parents » « Each individual can have no, one or several children » parent child 0..* 2 Examples:

Training: INSPIRE Basics EC JRC 9/15 Aggregation Definition: Aggregation relationship between instances of a class and several instances of another class Example: AggregateClassAggregatedClass c..d a..b « A ClassA instance is an aggregate of instances of classB » CountryRegion * 1 « A country is an aggregation of regions »

Training: INSPIRE Basics EC JRC 10/15 Composition Definition: Composition relationship between instances of a class and several instances of another classe (they cannot exist independently Example: CompositeClassComponantClass * 1 « A classA instance is a a composite of instances of classB » BookPage 2..* 1 « A book is composed of pages (at least two) »

Training: INSPIRE Basics EC JRC 11/15 Navigability Definition: Indication, whether instances of one class can see or know about instances of another class to which they are related through an association CompanyPerson * 0..2 supplier user « A Person instance knows the Company instances it is associated with » « A Company instance does not know the Person instances it is associated with »

Training: INSPIRE Basics EC JRC 12/15 Note Definition: Comment or a constraint attached to a diagram element. Usually linked to the element it is related to (with dashed line) In natural language ClassA Comment on classA

Training: INSPIRE Basics EC JRC 13/15 Constraint Definition: condition or restriction to satisfy. Can be represented in {…} or in a note In natural language, or OCL (when possible) ClassA ClassA objects should be like this {ClassA objects should be like that}

Training: INSPIRE Basics EC JRC 14/15 Stereotype Definition: Stereotypes extend the semantics, but not the structure of pre-existing UML elements (classes, attributes, operations, associations, roles, packages) UML representation: > ClassName > + attributeName : DataType

Training: INSPIRE Basics EC JRC 15/15 Exercise: What is represented here? INSPIRE UML class diagram for administrative units