Seminar 4 UML Object Diagram.

Slides:



Advertisements
Similar presentations
UML (cont.) “The Unified Modeling Language User Guide” by G. Booch, J. Rumbaugh and I. Jacobson ● Classes ● Relationships ● Class diagrams ● Examples.
Advertisements

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall A.1.
Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
UML Class Diagram. UML Class Diagrams2 Agenda What is a Class Diagram? Essential Elements of a UML Class Diagram Tips.
UML Class Diagram and Packages Written by Zvika Gutterman Adam Carmi.
Database Design (Data Modeling) DCO11310 Database Systems and Design By Rose Chang.
The Entity-Relationship Data Model
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
1 Data Modelling Which data to include in the database.
Chapter 2 Modeling Data in the Organization
Entity-Relationship Design
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
IT 244 Database Management System Data Modeling 1 Ref: A First Course in Database System Jeffrey D Ullman & Jennifer Widom.
the Entity-Relationship Model
Chapter 13 (Online): Object-Oriented Databases
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
Concepts and Terminology Introduction to Database.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Database Systems Lecture # 7 8 th Feb, Conceptual and Logical Design Person buys Product name pricenamessn Conceptual Model: Relational Model: (plus.
Tutorial 3. This tutorial went through how to convert multiplicity numbering used in UML modelling to ERD, and vice versa. In the exam and assignments,
Uml is made similar by the presence of four common mechanisms that apply consistently throughout the language. After constructing or developing the architecture.
Database Design Principles – Lecture 3
Databases : Data Modeling 2007, Fall Pusan National University Ki-Joune Li.
4 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Relationship Degree Indicates number of entities or participants.
Using COMET with Visio Visio UML Modeling. Creating a Drawing After opening Visio, you will see a list of templates available.
Design? !… When it needs? To understand, to communicate with customers Complex problem What is good design? Separate What to do?(Policy) and How to do(mechanism)
UML Weekend Crash Course Ch.11~20 Park, Hyoung-woo SNU OOPSLA Lab. Thomas A. Pender, Wiley
advanced data modeling
Information Access Mgt09/12/971 Entity-Relationship Design Information Level Design.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
1 CS 430 Database Theory Winter 2005 Lecture 3: A Fifty Minute Introduction to Data Modeling.
Course Instructor: Kashif I hsan 1. Chapter # 6 2.
ENTITY-RELATIONSHIP MODELLING. Objectives: How to use Entity–Relationship (ER) modelling in database design. Basic concepts associated with ER model.
 Class and Diagram  Representation of Class Name Attributes Operations  Visibility of Attributes and Operations.
Data Modeling Using the Entity- Relationship (ER) Model
Entity/Relationship Modelling
DataBase Logic in Business Applications
Data Modeling Using the ERD
Entity-Relationship Model
Enhanced Entity-Relationship (EER) Model
Object-Oriented Modeling
UML-Class Diagrams. UML-Class Diagrams Order placement problem A Company has two types of customers, corporate customers and personal customers. All.
Chapter 9 Domain Models.
Chapter # 3 Data Modeling Using the Entity-Relationship (ER) Model
Enhanced Entity-Relationship and Object Modeling Objectives
Entity-Relationship Model
Session 2 Welcome: The sixth learning sequence
Object-Oriented Analysis and Design
Class Diagrams.
Entity-Relationship Model
UML Class & Object Diagram II
Entity-Relationship Modeling
UML Exercise: Company - Employee You are supposed to use MagicDraw as tool when defining the diagrams. If you have not already done it: Download and install.
Entity-Relationship Model and Diagrams (continued)
Lec 3: Object-Oriented Data Modeling
UML Class Diagram.
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Group Members Muhammad Zeeshan ( 16) Adnan Akhtar (4)
Database Systems Instructor Name: Lecture-9.
Fundamentals of Databases CSU 07203
ITEC 3220A Using and Designing Database Systems
Seminar 2 Design of Informatics Systems
Chapter 2 Role of Information Systems in Organizations Link 2
Chapter 7: Entity-Relationship Model
IT 244 Database Management System
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Entity-Relationship Design
Design Model: Creating Design Class Diagrams
Presentation transcript:

Seminar 4 UML Object Diagram

Object diagram It consists of objects and the links between them. It serves to validate the class diagram. A link is a relationship between two objects. An object is named using its name, the sign ":" followed by the name of the class to which he belongs: Object Name: Class name. There may be anonymous objects, known only by class name.. Object diagram Class diagram Models facts about certain entities Models rules for types of entities. Represents real objects Represent abstractions of concepts. Connects objects Associates entities

Class and Object diagram notation – a comparison Class diagram Object diagram The class has three compartments: name, attributes and operations. An object has only two compartments: names and attributes. The class name is specified alone in the first compartment. The format of an object’s name includes class names. These notations are found in other diagrams that represent objects The second section describes the properties as attributes. The second section defines values for each attribute, in order to test the model. Operations show up in the description of the class. Operations are not included in objects because they are identical for each object of the class. Classes are connected by associations that have a name, multiplicity, constraints and roles. Classes are an abstraction of objects, so it is necessary to specify how many classes are participating in an association. The objects are connected by a relationship that can have a name, roles, but not multiplicities. Objects are singular entities, all links are one-on-one, and multiplicities are irrelevant.

Object diagram in Visual Paradigm Define the class diagram, in which the classes have attributes Define an object in the Object diagram (Instance Specification). Select the class to which the object belongs: Right click on the object -> Select Classifier-> tick and select the appropriate class Optionally, the object is given a name. Define values for attributes: Right click on the object -> Slots, Slots Define (for attributes we want to give values to) -> Edit Values-> Add -> Text (insert desired value). We create links (Link) between objects.

Object diagram in Visual Paradigm- example

A team consists of 11 players, of which one is the captain.. Draw class diagrams for the situations below A team consists of 11 players, of which one is the captain.. A company consists of departments. Departments are located in one or more office buildings. One office functions as headquarters. Each department has a manager who is recruited from among its employees. Model the relationship between a student and a teacher, knowing that a student can take exams in courses taught by that teacher or the latter may be the student's advisor for master's thesis. A customer can get a loan from a bank only if it offers a real estate guarantee in this regard. Modelaţi relaţia dintre diferite tipuri de vehicule motorizare sau nu.