OODB_Intro2.htm | ||||||||||||||||||
The object oriented model should fulfill the following criteria's
|
||||||||||||||||||
|
||||||||||||||||||
In the scheme as shown below, instance of "fname" in Manager or
Clerk or President in a subclass, maintains a class-to-subclass
relationship. The president's or clerk's name will remain distinct, the
name will provide an handle to fetch specific object who could be
president or developer. Further, the attribute "admin" would
provide an handle to fetch an array of objects. Here "President",
Manager" and "Clerk" all are grouped under the class employee, each has
four implicit abstract data imposed by the Class.
|
||||||||||||||||||
The first step of object-relational environment requires defining
collection of object types and methods. Once you define the object you
can crate object tables.
Script
|
||||||||||||||||||