SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden Object-Oriented Database Development
Object Definition Language (ODL) ,[object Object],[object Object],[object Object]
Defining a Class ,[object Object],[object Object],[object Object],[object Object]
Defining an Attribute ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Kinds of Collections ,[object Object],[object Object],[object Object],[object Object],[object Object]
Defining Structures ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Defining Operations ,[object Object],[object Object],[object Object],[object Object]
Defining Relationships ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Figure 15-1 –UML class diagram for a university database The following slides illustrate the ODL implementation of this UML diagram
Figure 15-2 –ODL Schema for university database
Figure 15-2 –ODL Schema for university database class  keyword   begins the class definition.Class components enclosed between  {   and  }
Figure 15-2 – ODL Schema for university database specify allowable values using  enum attribute has a data type and a name
Figure 15-2 –ODL Schema for university database extent  = the set of all instances of the class
Figure 15-2 –ODL Schema for university database Operation definition: return type, name, and argument list. Arguments include data types and names
Figure 15-2 –ODL Schema for university database relationship sets  indicate 1:N relationship to an  unordered  collection of instances of the other class inverse  establishes the bidirectionality of the relationship
Figure 15-2 –ODL Schema for university database relationship list  indicates 1:N relationship to an  ordered  collection of instances of the other class
Figure 15-2 –ODL Schema for university database relationship  indicates N:1 relationship to an instance of the other class
Figure 15-3 – UML class diagram for an employee project database (a) Many-to-many relationship with an association class Note: In order to capture special features of assignment, this should be converted into two 1:N relationships
Figure 15-3 – UML class diagram for an employee project database (b) Many-to many relationship broken into two one-to-many relationships class Employee { (extent  employees key  emp_id) ………… . attribute set (string)  skills_required ; }; Note: key  indicates indentifier (candidate key) Note:  attribute set  indicates a multivalued attribute
Figure 15-4  UML class diagram showing employee generalization class  Employee extends  Employee { (  …………. ………… . } Note: extends  denotes subclassing
Figure 15-5 –UML class diagram showing student generalization Note:  abstract  operation   denotes no method (no implementation) of calc_tuition at the Student level Note:  abstract class  denotes non-instantiable (complete constraint) abstract class  Student extends  Employee { (  …………. abstract float  calc_tuition(); }
Creating Object Instances ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Querying Objects in the OODB ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Current ODBMS Products ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Table15-1 – ODBMS Products

Weitere ähnliche Inhalte

Was ist angesagt?

Module 5 oodb systems semantic db systems
Module 5 oodb systems  semantic db systemsModule 5 oodb systems  semantic db systems
Module 5 oodb systems semantic db systems
Taher Barodawala
 
Uml Omg Fundamental Certification 2
Uml Omg Fundamental Certification 2Uml Omg Fundamental Certification 2
Uml Omg Fundamental Certification 2
Ricardo Quintero
 
Logical database design and the relational model(database)
Logical database design and the relational model(database)Logical database design and the relational model(database)
Logical database design and the relational model(database)
welcometofacebook
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
Kumar
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database model
PAQUIAAIZEL
 
Basic database analysis(database)
Basic database analysis(database)Basic database analysis(database)
Basic database analysis(database)
welcometofacebook
 
3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model
Kumar
 
Cardinality and participation constraints
Cardinality and participation constraintsCardinality and participation constraints
Cardinality and participation constraints
Nikhil Deswal
 

Was ist angesagt? (20)

UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbms
 
The Database Environment Chapter 4
The Database Environment Chapter 4The Database Environment Chapter 4
The Database Environment Chapter 4
 
EER Model
EER ModelEER Model
EER Model
 
DBMS - ER Model
DBMS - ER ModelDBMS - ER Model
DBMS - ER Model
 
Module 5 oodb systems semantic db systems
Module 5 oodb systems  semantic db systemsModule 5 oodb systems  semantic db systems
Module 5 oodb systems semantic db systems
 
Enhanced ER(database)
Enhanced ER(database)Enhanced ER(database)
Enhanced ER(database)
 
Uml Omg Fundamental Certification 2
Uml Omg Fundamental Certification 2Uml Omg Fundamental Certification 2
Uml Omg Fundamental Certification 2
 
Logical database design and the relational model(database)
Logical database design and the relational model(database)Logical database design and the relational model(database)
Logical database design and the relational model(database)
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database model
 
Basic database analysis(database)
Basic database analysis(database)Basic database analysis(database)
Basic database analysis(database)
 
3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model3 data modeling using the entity-relationship (er) model
3 data modeling using the entity-relationship (er) model
 
Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013
 
Dbms relational data model and sql queries
Dbms relational data model and sql queries Dbms relational data model and sql queries
Dbms relational data model and sql queries
 
Er Modeling
Er ModelingEr Modeling
Er Modeling
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Object Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLObject Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UML
 
2 class use case
2 class use case2 class use case
2 class use case
 
Cardinality and participation constraints
Cardinality and participation constraintsCardinality and participation constraints
Cardinality and participation constraints
 

Andere mochten auch

Datalog and its Extensions for Semantic Web Databases
Datalog and its Extensions for Semantic Web DatabasesDatalog and its Extensions for Semantic Web Databases
Datalog and its Extensions for Semantic Web Databases
Giorgio Orsi
 
Data_Warehouse
Data_WarehouseData_Warehouse
Data_Warehouse
Thang Luu
 

Andere mochten auch (20)

Datalog and its Extensions for Semantic Web Databases
Datalog and its Extensions for Semantic Web DatabasesDatalog and its Extensions for Semantic Web Databases
Datalog and its Extensions for Semantic Web Databases
 
Database and Database Security..
Database and Database Security..Database and Database Security..
Database and Database Security..
 
Csdl hdt
Csdl hdtCsdl hdt
Csdl hdt
 
Database Life Cycle
Database Life CycleDatabase Life Cycle
Database Life Cycle
 
De an-tttn-olap-slide
De an-tttn-olap-slideDe an-tttn-olap-slide
De an-tttn-olap-slide
 
Data_Warehouse
Data_WarehouseData_Warehouse
Data_Warehouse
 
Data Warehouse
Data WarehouseData Warehouse
Data Warehouse
 
Tài liệu data warehouse vietsub
Tài liệu data warehouse  vietsubTài liệu data warehouse  vietsub
Tài liệu data warehouse vietsub
 
DB security
 DB security DB security
DB security
 
Fuzzy logic &_inference_system
Fuzzy logic &_inference_systemFuzzy logic &_inference_system
Fuzzy logic &_inference_system
 
Database Systems Security
Database Systems SecurityDatabase Systems Security
Database Systems Security
 
Database management system basic, database, database management, learn databa...
Database management system basic, database, database management, learn databa...Database management system basic, database, database management, learn databa...
Database management system basic, database, database management, learn databa...
 
Database security issues
Database security issuesDatabase security issues
Database security issues
 
Database Security
Database SecurityDatabase Security
Database Security
 
Database security
Database securityDatabase security
Database security
 
MySQL
MySQLMySQL
MySQL
 
Introduction to Mysql
Introduction to MysqlIntroduction to Mysql
Introduction to Mysql
 
OLAP
OLAPOLAP
OLAP
 
CBSE XII Database Concepts And MySQL Presentation
CBSE XII Database Concepts And MySQL PresentationCBSE XII Database Concepts And MySQL Presentation
CBSE XII Database Concepts And MySQL Presentation
 
MySql slides (ppt)
MySql slides (ppt)MySql slides (ppt)
MySql slides (ppt)
 

Ähnlich wie Ch 12 O O D B Dvlpt

Ch.03 - Class Diagram_1 OBJECT ORIENTED ANALYSIS AND DESIGN [O] .pptx
Ch.03 - Class Diagram_1 OBJECT ORIENTED ANALYSIS AND DESIGN [O] .pptxCh.03 - Class Diagram_1 OBJECT ORIENTED ANALYSIS AND DESIGN [O] .pptx
Ch.03 - Class Diagram_1 OBJECT ORIENTED ANALYSIS AND DESIGN [O] .pptx
SohagSrz
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
Aravinth NSP
 

Ähnlich wie Ch 12 O O D B Dvlpt (20)

The Database Environment Chapter 15
The Database Environment Chapter 15The Database Environment Chapter 15
The Database Environment Chapter 15
 
2 rel-algebra
2 rel-algebra2 rel-algebra
2 rel-algebra
 
UNIT II STATIC UML DIAGRAMS.pptx
UNIT II STATIC UML DIAGRAMS.pptxUNIT II STATIC UML DIAGRAMS.pptx
UNIT II STATIC UML DIAGRAMS.pptx
 
Introduction To Al And Production Systems
Introduction To Al And Production SystemsIntroduction To Al And Production Systems
Introduction To Al And Production Systems
 
Sq lite module3
Sq lite module3Sq lite module3
Sq lite module3
 
Databases
DatabasesDatabases
Databases
 
COMPUTERS Database
COMPUTERS Database COMPUTERS Database
COMPUTERS Database
 
Ch.03 - Class Diagram_1 OBJECT ORIENTED ANALYSIS AND DESIGN [O] .pptx
Ch.03 - Class Diagram_1 OBJECT ORIENTED ANALYSIS AND DESIGN [O] .pptxCh.03 - Class Diagram_1 OBJECT ORIENTED ANALYSIS AND DESIGN [O] .pptx
Ch.03 - Class Diagram_1 OBJECT ORIENTED ANALYSIS AND DESIGN [O] .pptx
 
Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013
 
oodb.ppt
oodb.pptoodb.ppt
oodb.ppt
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Cs8592 ooad unit 2
Cs8592 ooad unit 2Cs8592 ooad unit 2
Cs8592 ooad unit 2
 
Cs8592 ooad unit 2
Cs8592 ooad unit 2Cs8592 ooad unit 2
Cs8592 ooad unit 2
 
DBMS Unit-2.pdf
DBMS Unit-2.pdfDBMS Unit-2.pdf
DBMS Unit-2.pdf
 
Intro Uml
Intro UmlIntro Uml
Intro Uml
 
Intro
IntroIntro
Intro
 
Introduction to Oracle
Introduction to OracleIntroduction to Oracle
Introduction to Oracle
 
Introduction to Oracle
Introduction to OracleIntroduction to Oracle
Introduction to Oracle
 
Object oriented database
Object oriented databaseObject oriented database
Object oriented database
 

Mehr von guest8fdbdd

Mehr von guest8fdbdd (20)

Vikram Chatwal Final
Vikram Chatwal FinalVikram Chatwal Final
Vikram Chatwal Final
 
Wb Presentation
Wb PresentationWb Presentation
Wb Presentation
 
U T V Ppt
U T V PptU T V Ppt
U T V Ppt
 
V I D E O C O N
V I D E O C O NV I D E O C O N
V I D E O C O N
 
Tisco
TiscoTisco
Tisco
 
R A N B A X Yfinal
R A N B A X YfinalR A N B A X Yfinal
R A N B A X Yfinal
 
R A V I J A I P U R I A[1]
R A V I  J A I P U R I A[1]R A V I  J A I P U R I A[1]
R A V I J A I P U R I A[1]
 
Puma And Evisu
Puma And EvisuPuma And Evisu
Puma And Evisu
 
Ppt
PptPpt
Ppt
 
Hershey G B F L 2
Hershey  G B F L 2Hershey  G B F L 2
Hershey G B F L 2
 
Nike
NikeNike
Nike
 
L J H O O K E R 1
L J  H O O K E R 1L J  H O O K E R 1
L J H O O K E R 1
 
M I K E P A T E L 1
M I K E  P A T E L 1M I K E  P A T E L 1
M I K E P A T E L 1
 
Joy Alukkas
Joy AlukkasJoy Alukkas
Joy Alukkas
 
New Mr
New MrNew Mr
New Mr
 
Mahindra Renault
Mahindra RenaultMahindra Renault
Mahindra Renault
 
F I N A L
F I N A LF I N A L
F I N A L
 
Abhishek Saraff1
Abhishek  Saraff1Abhishek  Saraff1
Abhishek Saraff1
 
Abhishek Saraff
Abhishek  SaraffAbhishek  Saraff
Abhishek Saraff
 
L G 2
L G 2L G 2
L G 2
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Ch 12 O O D B Dvlpt

  • 1. Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden Object-Oriented Database Development
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Figure 15-1 –UML class diagram for a university database The following slides illustrate the ODL implementation of this UML diagram
  • 10. Figure 15-2 –ODL Schema for university database
  • 11. Figure 15-2 –ODL Schema for university database class keyword begins the class definition.Class components enclosed between { and }
  • 12. Figure 15-2 – ODL Schema for university database specify allowable values using enum attribute has a data type and a name
  • 13. Figure 15-2 –ODL Schema for university database extent = the set of all instances of the class
  • 14. Figure 15-2 –ODL Schema for university database Operation definition: return type, name, and argument list. Arguments include data types and names
  • 15. Figure 15-2 –ODL Schema for university database relationship sets indicate 1:N relationship to an unordered collection of instances of the other class inverse establishes the bidirectionality of the relationship
  • 16. Figure 15-2 –ODL Schema for university database relationship list indicates 1:N relationship to an ordered collection of instances of the other class
  • 17. Figure 15-2 –ODL Schema for university database relationship indicates N:1 relationship to an instance of the other class
  • 18. Figure 15-3 – UML class diagram for an employee project database (a) Many-to-many relationship with an association class Note: In order to capture special features of assignment, this should be converted into two 1:N relationships
  • 19. Figure 15-3 – UML class diagram for an employee project database (b) Many-to many relationship broken into two one-to-many relationships class Employee { (extent employees key emp_id) ………… . attribute set (string) skills_required ; }; Note: key indicates indentifier (candidate key) Note: attribute set indicates a multivalued attribute
  • 20. Figure 15-4 UML class diagram showing employee generalization class Employee extends Employee { ( …………. ………… . } Note: extends denotes subclassing
  • 21. Figure 15-5 –UML class diagram showing student generalization Note: abstract operation denotes no method (no implementation) of calc_tuition at the Student level Note: abstract class denotes non-instantiable (complete constraint) abstract class Student extends Employee { ( …………. abstract float calc_tuition(); }
  • 22.
  • 23.
  • 24.