Derived Classes and Properties - Teradata Meta Data Services

Teradata Meta Data Services Programmer Guide

Product
Teradata Meta Data Services
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
Product Category
Teradata Tools and Utilities

Derived Classes and Properties

A derived class is defined as a base class and a set of derived properties. Derived properties are properties in classes that have relationships to the base class. The derived class contains all the properties of the base class.

The derived property must be able to be retrieved by following a relationship or set of relationships from the base class.

Figure 7: Derived Related Classes

In the above metamodel from a Column object, the name of the related table can be found by getting the origin object using the TableHasColumns relationship.

The name of the related database can be found by getting the origin object of the table using the DatabaseHasTables object. Since these properties can be retrieved through relationships to the Column class, they can be defined as derived properties of a derived class with the base class of the Column class.