Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Object oriented data model ppt

25/11/2021 Client: muhammad11 Deadline: 2 Day

Chapter 9
Object-Oriented Database Management

BLCN-534: Fundamentals of Database Systems

Chapter Objectives

List several limitations in the relational database model.
Describe the object-oriented database concept.
Model data using such complex relationships as generalization and aggregation, and such concepts as inheritance and polymorphism.
Describe the benefits of encapsulation.
Describe the value of developing abstract data types.
Explain what an object/relational database is.
9-*

Object Orientation

An alternative approach to information systems and IS development.
Began during the 1980s.
More data-centric.
9-*

What’s Missing in the Relational Database Concept?

Many people would say that nothing is missing from the relational model.
Others would point out that for certain kinds of complex applications, the relational model is lacking in support for the more complex data model features they need.
9-*

What’s Missing in the Relational Database Concept?

Does not directly provide support for generalization/specialization.
Does not directly provide support for aggregation.
9-*

What’s Missing in the Relational Database Concept?

Does not have a system in which only a limited, controlled set of program segments is allowed to update particular data.
Does not directly support more complex data types such as:
graphic images
photo images
video clips
audio clips
long text documents
mathematical constructs such as matrices
9-*

Terminology: Object-Oriented Data Modeling

Object - describes an advanced data structure that includes an entity’s attributes plus methods or operations or procedures (program code!) that can operate on and modify the object’s attribute values.
(object) class - the objects that describe similar entities.
9-*

More advantages of Object Oriented Database Concept

Each object has an object identifier that is permanent and unique among all objects of all types in the system.
Some OODBMSs are implemented as pointer-based systems. related objects are “connected” by their storage addresses.
OODBMSs are the most natural data storage vehicles when object-oriented programming languages, such as C++, Smalltalk, and Java, are in use.
9-*

Unified Modeling Language

Introduced in 1997 by the Object Management Group (OMG)
Has nine standard diagrams that describe:
the system’s data
the business processes
the intended results
the components of the program code
the hardware and software architectures.
9-*

UML Class Diagram

Describes the system’s data, including attributes of and relationships between the “objects.”
9-*

Generalization

Also known as generalization/specialization
Is a relationship that recognizes that some kinds of entities can be subdivided into smaller, more specialized groups.
9-*

General Hardware Company ERD

General Hardware company E-R diagram.
General Hardware is a wholesaler.
9-*

General Hardware Company Generalization Diagram

Each box represents a class and has three sections separated by horizontal lines.
At the top, in capital letters, is the class name
In the middle are the class attributes
At the bottom are the class operations (not shown)
9-*

General Hardware Company Generalization Diagram

The upward pointing arrows indicate generalizations.
There are three kinds of products
TOOLs
LIGHT FIXTUREs
LUMBER
There are two kinds of tools
POWER TOOLs
NONPOWER TOOLs
9-*

Inheritance of Attributes

The PRODUCT class indicates that all products have three common attributes: Product Number, Product Name, and Unit Price.
All of the classes below PRODUCT inherit the attributes shown in PRODUCT.
9-*

Inheritance of Attributes

The attributes for POWER TOOLs are:
(from Product)
Product Number
Product Name
Unit Price
(from TOOL)
Weight
(from POWER TOOL)
Amperes
9-*

Inheritance of Attributes

The attributes for NONPOWER TOOLs are
(from Product)
Product Number
Product Name
Unit Price
(from TOOL)
Weight
(from NON-POWER TOOL)
Years of Warranty
9-*

Inheritance of Attributes

The attributes for LIGHT FIXTUREs are
(from Product)
Product Number
Product Name
Unit Price
(from LIGHT FIXTURE)
Number of Bulbs
Watts per Bulb
9-*

Inheritance of Attributes

The attributes for LUMBER are
(from Product)
Product Number
Product Name
Unit Price
(from LUMBER)
Type of Wood
Dimensions
9-*

Operations

Operations have now been added to the UML Diagram.
There are three kinds of operations:
Constructor
Query
Update
9-*

Operations: Constructor

Creates a new instance of a class, that is, a new object.
Example: Add Lumber
an operation that will add a new instance of LUMBER, that is, a new object, to the database.
9-*

Operations: Query

Returns data about the values of an object’s attributes but does not update them.
Example: Calculate Discount
calculates a discount for a particular customer buying a particular product and returns the result to the user who issued the query, but does not store the result in the database.
9-*

Operations: Update

Updates an object’s attribute values.
Example: Change Unit Price
a product’s unit price may have to be changed, and the result is stored in the database as the new unit price.
9-*

Polymorphism

Modification or refinement of operations as they are inherited downward.
The operations that are performed differently in the lower level objects can have modified names and will perform differently for the different kinds of objects.
9-*

Polymorphism

Looking at “Calculate Discount”:
Since there is nothing more said about the discount further down the hierarchy, the discount is calculated in the same way for all kinds of products.
Looking at “Calculate Extended Warranty Price”:
polymorphism occurs in the Calculate Extended Warranty Price operation because it is performed differently for power tools and nonpower tools.
9-*

Aggregation

9-*

Aggregation

A class is shown to be composed of other classes.
FRAMEs and BULBS are not kinds of LIGHT FIXTUREs; rather, each is a part of a LIGHT FIXTURE.
9-*

General Hardware Company Class Diagram

9-*

Good Reading Bookstores Class Diagram

A generalization hierarchy has been created under PRODUCT, which indicates that there are four kinds of products: BOOK, PERIODICAL, CD, and VIDEO/DVD.
The PERIODICAL class, and only this class, is associated with the ARTICLE class.
9-*

World Music Association Class Diagram

A generalization hierarchy has been constructed with subordinate classes ORCHESTRA, CHAMBER GROUP, and JAZZ GROUP.
9-*

Lucky Rent-A-Vehicle
Class Diagram

Lucky Rent-A-Car has expanded to become Lucky Rent-A-Vehicle!
A two-level generalization hierarchy under VEHICLE.
The diamond-shaped symbol on the branch under the TRUCK class indicates that there is an aggregation diagram under it.
9-*

Encapsulation

The attributes of a class or even an individual object are “encapsulated,” stored together on the disk, with the operations that will act upon them.
OODBMS will only permit the attributes of the encapsulated objects to be updated by the encapsulated update-type operations, thereby improving data integrity.
9-*

Encapsulation

When an application program requires encapsulated data, it sends a message to one of the object’s encapsulated operations to trigger it into action.

The application program sends along any input data needed for the operation.

9-*

Abstract Data Types

Object-oriented database allows the creation of new, abstract data types and operations that are associated with them.

9-*

Object/Relational Database

OODBMSs were lacking in several areas, including the superior query capabilities of SQL that everyone had become accustomed to.
Relational database and object-oriented database have come together in the form of hybrid relational database management systems with object-oriented features added to them.
9-*

General Hardware Company as an Object/Relational Database

9-*

Polymorphism

• Modification or refinement of operations as they are inherited downward. • The operations that are

performed differently in the lower level objects can have modified names and will perform differently for the different kinds of objects.

9-24

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Phd Writer
Helping Engineer
Solutions Store
Supreme Essay Writer
Coursework Help Online
Accounting & Finance Master
Writer Writer Name Offer Chat
Phd Writer

ONLINE

Phd Writer

I am an experienced researcher here with master education. After reading your posting, I feel, you need an expert research writer to complete your project.Thank You

$43 Chat With Writer
Helping Engineer

ONLINE

Helping Engineer

I am an academic and research writer with having an MBA degree in business and finance. I have written many business reports on several topics and am well aware of all academic referencing styles.

$39 Chat With Writer
Solutions Store

ONLINE

Solutions Store

I am an elite class writer with more than 6 years of experience as an academic writer. I will provide you the 100 percent original and plagiarism-free content.

$43 Chat With Writer
Supreme Essay Writer

ONLINE

Supreme Essay Writer

I am an academic and research writer with having an MBA degree in business and finance. I have written many business reports on several topics and am well aware of all academic referencing styles.

$36 Chat With Writer
Coursework Help Online

ONLINE

Coursework Help Online

I am an elite class writer with more than 6 years of experience as an academic writer. I will provide you the 100 percent original and plagiarism-free content.

$36 Chat With Writer
Accounting & Finance Master

ONLINE

Accounting & Finance Master

I am an academic and research writer with having an MBA degree in business and finance. I have written many business reports on several topics and am well aware of all academic referencing styles.

$23 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Bishops stortford newspaper obituaries - What percentage of apple's authorized common stock was issued at september 27, 2014? - Authorised smartrider retail outlet - Baxley brothers has a dso of 23 days - Avb medical abbreviation gynecology - Section 51 xxvi of the constitution of australia - Lacto ovo vegetarians would not eat __________ - Disturbed family process care plan - Evaluate cvs's decision to no longer sell tobacco products - Paraphrasing exercises with answers - Cardiac Physiology: Electrical Activity - Dylan fatone death farmingdale ny - Spelling city splat n spell - MBA - Main - Dis 1 - In trying to move across a slippery icy surface - 10 things i hate about you quotes kat - Sources of big data ppt - Cruzan v. director, missouri department of health, 497 u.s. 261 (1990) - Microsoft project 2013 tutorial pdf - Explain the stepwise approach to asthma treatment and management - Prime factors in index form - Dinamica de fluidos ejercicios resueltos - Ch 6 medical terminology - Which of the following statements applies to media planning - Universal garage door remote jaycar - Mkt 571 client pitch presentation - Number of electrons in calcium - The outstanding capital stock of pennington corporation - General reserve in trial balance - Hca 255 topic 2 quiz - How does project planning minimize risks - Post- Irene - 5 questions - Sop for cnc turning machine - Religious literacy stephen prothero chapter summary - Cisco ap bridge mode - 14000 divided by 160 - Comparative and noncomparative scaling techniques - Emperor of china self portrait of k ang hsi - Topic 7 review cwv - On the sidewalk bleeding - Eassy on high school starting time, we the theses , we need to give talk about our waking up while we were in school, is a five body paragraph - Addendum to a common pentad nyt crossword - Prob - Fluid mosaic model animation - Give me liberty eric foner volume 1 free pdf - A can of bull case study - Organise work schedule pdf - Courant institute of mathematical sciences ranking - ://prosper womens health clinic 0835179056 SAFE ABORTION PILLS Ladysmith Winterton Dundee Greytown Muden Wasbank - First and second order circuits - Geos rescue coordination center - 1/328 reserve road cheltenham - Hyenas marching lion king - Marketing research refers to - What is my cosmic address - Juegan ustedes al baloncesto en la universidad - Daft organization theory and design pdf - Simple green industrial cleaner sds - Science focus 9 textbook - Your answers to all five questions must be in the Answers worksheet of the Ad Bids workbook that you downloaded from Blackboard. In addition, your Excel model coming up with the answers for each of the five questions should be on - Ddos attack map - 2-3 page paper on the Thematic Apperception Test - Insights Into Criminal Behavior - Village roadshow limited abn - Capstone Research Companion - Homework -Ostds - Spectroscopy lab answer key - Neil simon comedic monologues - Informative essay on michael jordan - A rapid automatic response to a stimulus - Speaking frankly dating apps - Sociology - MATH - Cisco binary game cheats - Job application - Paranormal Essay - Sociology - Was darwin wrong david quammen - Relationship Challenges - Pumped up kicks kidz bop lyrics - Eight crazy nights let it out davey - Ratio Analysis - The mills yarra bend - Oxidation number of nitrogen in n2f4 - Emergency department nursing orientation manual - 221 mill street lake wendouree - Leadership Styles - What is the issue mccullough is satirizing - It's like pulling teeth case study - Discussion 1: Critical Elements for Implementing a Change Initiative - Real estate - Vir the robot boy statue man - Von thunen model of agricultural land use - West coast cooler dan murphys - Crossing brooklyn ferry transcendentalism - Stoneygate children's centre preston - Where is gerber baby food factory - Cloze test practice book - Each cell of the complete market-product grid shows the __________. - Business Paper