Previous Table of Contents Next


6.2.1 Inheritance


   The Relational package depends on the following packages: • org.omg::CWM::ObjectModel::Behavioral • org.omg::CWM::ObjectModel::Core • org.omg::CWM::ObjectModel::Instance • org.omg::CWM::Foundation::DataTypes • org.omg::CWM::Foundation::KeysIndexes

   The Relational package references the ObjectModel and Foundation packages.

    Figure 6-1 shows the Relational package classes and their inheritance from the ObjectModel and Foundation classes. The Relational package, as do the other data packages, define top-level containers (Catalog, Schema) that extend the ObjectModel Package class. ColumnSet and SQLStructuredType extend Class. The Columns contained in the ColumnSet are extensions of the ObjectModel Attribute. The data type of a column (SQLDataType) inherits from ObjectModel Classifier. This structuring of the classes will be particularly useful to describe the object extensions of SQL.

   Attribute ethod

   Package Class ifier DataTy pe

   (from Core) (from Core) (from Core) (from Core) fr om Behavior al)



   Procedure

   odelElement (from Core)


   Primary Key

   Figure 6-1 Relational Package Inheritances