company logo

Class extension

The extends definition as provided in ODMG is handled in ODABA in the same way as inheritance for classes, i.e. the ODMG specific restriction do not exist in ODABA. It is suggested to use inheritance specification rather than class extensions.

In a class definition one may use either inheritance or extends specification.

Definition: 

extends_spec := extends base_types