Object Definition Language
Encyclopedia
Object Definition Language (ODL) is the specification language defining the interface to object types conforming to the ODMG Object Model
. Often abbreviated by the acronym ODL.
This language's purpose is to define the structure of an Entity-relationship diagram.
Element Declarations
attributes ( < type > : < name > );
relationships ( < rangetype > : < name > );
Type year, day, month integer
Class Manager
attributes(id : string unique
name : string
phone : string
set employees : Tuple { [Employee], Start_Date : Date })
Class Employee
attributes(id : string unique
name : string
Start_Date : Date
manager : [Manager])
Object model
In computing, object model has two related but distinct meanings:# The properties of objects in general in a specific computer programming language, technology, notation or methodology that uses them. For example, the Java objects model, the COM object model, or the object model of OMT...
. Often abbreviated by the acronym ODL.
This language's purpose is to define the structure of an Entity-relationship diagram.
Class declarations
Interface < name > { elements = attributes, relationships, methods }Element Declarations
attributes ( < type > : < name > );
relationships ( < rangetype > : < name > );
Example
Type Date Tuple {year, day, month}Type year, day, month integer
Class Manager
attributes(id : string unique
name : string
phone : string
set employees : Tuple { [Employee], Start_Date : Date })
Class Employee
attributes(id : string unique
name : string
Start_Date : Date
manager : [Manager])