SlideShare a Scribd company logo
2
Most read
4
Most read
12
Most read
Advance Database Management Systems:16
Object Definition Language
Prof Neeraj Bhargava
Vaibhav Khanna
Department of Computer Science
School of Engineering and Systems Sciences
Maharshi Dayanand Saraswati University Ajmer
Slide 21- 2
Object Definition Language
• ODL supports semantics constructs of ODMG
• ODL is independent of any programming
language
• ODL is used to create object specification
(classes and interfaces)
• ODL is not used for database manipulation
Slide 21- 3
ODL Examples (1)
A Very Simple Class
• A very simple, straightforward class definition
– (all examples are based on the university schema
presented in Chapter 4):
class Degree {
attribute string college;
attribute string degree;
attribute string year;
};
Slide 21- 4
ODL Examples (2)
A Class With Key and Extent
• A class definition with “extent”, “key”, and
more elaborate attributes; still relatively
straightforward
class Person (extent persons key ssn) {
attribute struct Pname {string fname …} name;
attribute string ssn;
attribute date birthdate;
…
short age();
}
Slide 21- 5
ODL Examples (3)
A Class With Relationships
• Note extends (inheritance) relationship
• Also note “inverse” relationship
class Faculty extends Person (extent faculty) {
attribute string rank;
attribute float salary;
attribute string phone;
…
relationship Dept works_in inverse
Dept::has_faculty;
relationship set<GradStu> advises inverse
GradStu::advisor;
void give_raise (in float raise);
void promote (in string new_rank);
};
Slide 21- 6
Inheritance via “:” – An Example
interface Shape {
attribute struct point {…}
reference_point;
float perimeter ();
…
};
class Triangle: Shape (extent triangles) {
attribute short side_1;
attribute short side_2;
…
};
ODL: CLASSES & ATTRIBUTES
ODL: RELATIONSHIPS
ODL: RELATIONSHIPS & INVERSE
RELATIONSHIPS
ODL: MULTIPLICITY OF RELATIONSHIPS
ODL: METHODS
ODL: INHERITANCE
ODL: INSTANCES & KEYS
Assignment
• What is Object Definition Language
• Explain the concept of Relationships and
inverse relationship in ODL

More Related Content

PPTX
Adbms 17 object query language
PPTX
Object Oriented Design
PPT
Flow oriented modeling
PPTX
Paging and segmentation
PPTX
Single source Shortest path algorithm with example
PPTX
Deadlock dbms
PPT
Deadlock detection and recovery by saad symbian
PPT
1.prallelism
Adbms 17 object query language
Object Oriented Design
Flow oriented modeling
Paging and segmentation
Single source Shortest path algorithm with example
Deadlock dbms
Deadlock detection and recovery by saad symbian
1.prallelism

What's hot (20)

PPTX
Three Address code
PPT
Object Oriented Dbms
PPTX
Object relational database management system
PDF
operating system structure
PPTX
Deadlock Avoidance in Operating System
PPTX
Distributed Database Management System
PPTX
Deadlock Prevention
PPTX
Quality of Service
PPT
EVOLUTION OF SYSTEM
PPTX
Link state routing protocol
PPT
Formal Specifications in Formal Methods
PPT
13. Query Processing in DBMS
PPTX
Semophores and it's types
PPTX
Distributed file system
PPTX
Context switching
PDF
Software Engineering : Requirement Analysis & Specification
PPTX
Curve and text clipping
PPTX
Unit iv(simple code generator)
PPT
Socket System Calls
PPTX
Synchronization hardware
Three Address code
Object Oriented Dbms
Object relational database management system
operating system structure
Deadlock Avoidance in Operating System
Distributed Database Management System
Deadlock Prevention
Quality of Service
EVOLUTION OF SYSTEM
Link state routing protocol
Formal Specifications in Formal Methods
13. Query Processing in DBMS
Semophores and it's types
Distributed file system
Context switching
Software Engineering : Requirement Analysis & Specification
Curve and text clipping
Unit iv(simple code generator)
Socket System Calls
Synchronization hardware
Ad

Similar to Adbms 16 object definition language (20)

PPT
Database-to-Ontology Mapping Generation for Semantic Interoperability
PDF
Cs501 intro
PPT
Data base management system Chapter21 (1).ppt
PPTX
ADBMS Object and Object Relational Databases
PPT
Ch21-OODB.ppt
PPTX
2019 DSA 105 Introduction to Data Science Week 5
PPT
Ch 12 O O D B Dvlpt
PPT
The Essay Scoring Tool (TEST) for Hindi
PPT
Database Technology Teaching Material For Learn
PPTX
Adbms 15 object data management group
PPT
01-introduction OOPS concepts in C++ JAVA
PPT
01-introductionto Object ooriented Programming in JAVA CS.ppt
PPTX
UML Modeling in Java
PPT
oodb.ppt
PPT
08 aggregation and collection classes
 
PPTX
PPT
Introduction to Database Management Systems
ODP
LOM DCAM at LOM Meeting 2008-04-23
DOCX
Lab assignment a 02
PPT
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
Database-to-Ontology Mapping Generation for Semantic Interoperability
Cs501 intro
Data base management system Chapter21 (1).ppt
ADBMS Object and Object Relational Databases
Ch21-OODB.ppt
2019 DSA 105 Introduction to Data Science Week 5
Ch 12 O O D B Dvlpt
The Essay Scoring Tool (TEST) for Hindi
Database Technology Teaching Material For Learn
Adbms 15 object data management group
01-introduction OOPS concepts in C++ JAVA
01-introductionto Object ooriented Programming in JAVA CS.ppt
UML Modeling in Java
oodb.ppt
08 aggregation and collection classes
 
Introduction to Database Management Systems
LOM DCAM at LOM Meeting 2008-04-23
Lab assignment a 02
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
Ad

More from Vaibhav Khanna (20)

PPTX
Information and network security 47 authentication applications
PPTX
Information and network security 46 digital signature algorithm
PPTX
Information and network security 45 digital signature standard
PPTX
Information and network security 44 direct digital signatures
PPTX
Information and network security 43 digital signatures
PPTX
Information and network security 42 security of message authentication code
PPTX
Information and network security 41 message authentication code
PPTX
Information and network security 40 sha3 secure hash algorithm
PPTX
Information and network security 39 secure hash algorithm
PPTX
Information and network security 38 birthday attacks and security of hash fun...
PPTX
Information and network security 37 hash functions and message authentication
PPTX
Information and network security 35 the chinese remainder theorem
PPTX
Information and network security 34 primality
PPTX
Information and network security 33 rsa algorithm
PPTX
Information and network security 32 principles of public key cryptosystems
PPTX
Information and network security 31 public key cryptography
PPTX
Information and network security 30 random numbers
PPTX
Information and network security 29 international data encryption algorithm
PPTX
Information and network security 28 blowfish
PPTX
Information and network security 27 triple des
Information and network security 47 authentication applications
Information and network security 46 digital signature algorithm
Information and network security 45 digital signature standard
Information and network security 44 direct digital signatures
Information and network security 43 digital signatures
Information and network security 42 security of message authentication code
Information and network security 41 message authentication code
Information and network security 40 sha3 secure hash algorithm
Information and network security 39 secure hash algorithm
Information and network security 38 birthday attacks and security of hash fun...
Information and network security 37 hash functions and message authentication
Information and network security 35 the chinese remainder theorem
Information and network security 34 primality
Information and network security 33 rsa algorithm
Information and network security 32 principles of public key cryptosystems
Information and network security 31 public key cryptography
Information and network security 30 random numbers
Information and network security 29 international data encryption algorithm
Information and network security 28 blowfish
Information and network security 27 triple des

Recently uploaded (20)

PDF
Softaken Excel to vCard Converter Software.pdf
PDF
System and Network Administration Chapter 2
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
assetexplorer- product-overview - presentation
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Nekopoi APK 2025 free lastest update
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Softaken Excel to vCard Converter Software.pdf
System and Network Administration Chapter 2
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
assetexplorer- product-overview - presentation
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Navsoft: AI-Powered Business Solutions & Custom Software Development
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
How to Choose the Right IT Partner for Your Business in Malaysia
Design an Analysis of Algorithms I-SECS-1021-03
Operating system designcfffgfgggggggvggggggggg
Nekopoi APK 2025 free lastest update
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Upgrade and Innovation Strategies for SAP ERP Customers
Reimagine Home Health with the Power of Agentic AI​
Design an Analysis of Algorithms II-SECS-1021-03
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Understanding Forklifts - TECH EHS Solution
CHAPTER 2 - PM Management and IT Context
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...

Adbms 16 object definition language

  • 1. Advance Database Management Systems:16 Object Definition Language Prof Neeraj Bhargava Vaibhav Khanna Department of Computer Science School of Engineering and Systems Sciences Maharshi Dayanand Saraswati University Ajmer
  • 2. Slide 21- 2 Object Definition Language • ODL supports semantics constructs of ODMG • ODL is independent of any programming language • ODL is used to create object specification (classes and interfaces) • ODL is not used for database manipulation
  • 3. Slide 21- 3 ODL Examples (1) A Very Simple Class • A very simple, straightforward class definition – (all examples are based on the university schema presented in Chapter 4): class Degree { attribute string college; attribute string degree; attribute string year; };
  • 4. Slide 21- 4 ODL Examples (2) A Class With Key and Extent • A class definition with “extent”, “key”, and more elaborate attributes; still relatively straightforward class Person (extent persons key ssn) { attribute struct Pname {string fname …} name; attribute string ssn; attribute date birthdate; … short age(); }
  • 5. Slide 21- 5 ODL Examples (3) A Class With Relationships • Note extends (inheritance) relationship • Also note “inverse” relationship class Faculty extends Person (extent faculty) { attribute string rank; attribute float salary; attribute string phone; … relationship Dept works_in inverse Dept::has_faculty; relationship set<GradStu> advises inverse GradStu::advisor; void give_raise (in float raise); void promote (in string new_rank); };
  • 6. Slide 21- 6 Inheritance via “:” – An Example interface Shape { attribute struct point {…} reference_point; float perimeter (); … }; class Triangle: Shape (extent triangles) { attribute short side_1; attribute short side_2; … };
  • 7. ODL: CLASSES & ATTRIBUTES
  • 9. ODL: RELATIONSHIPS & INVERSE RELATIONSHIPS
  • 10. ODL: MULTIPLICITY OF RELATIONSHIPS
  • 14. Assignment • What is Object Definition Language • Explain the concept of Relationships and inverse relationship in ODL