ClassHierarchy

/**
* @brief ClassHierarchy relation.
*/

Inherit from ClassHierarchyDO

Primary key: base_oid: int

schema ClassHierarchy extends ClassHierarchyDO {
  @primary base_oid: int,
  class_oid: int
}

ClassHierarchy::getClassOid

/**
* @brief gets the class oid of this element.
* @return int
*/
pub fn getClassOid(self: ClassHierarchy) -> int;

ClassHierarchy::getClass

/**
* @brief gets the class in the inherited relation.
* @return Class
*/
pub fn getClass(self: ClassHierarchy) -> Class;

ClassHierarchy::__all__

Data constraint method.

pub fn __all__(db: PythonDB) -> *ClassHierarchy;

ClassHierarchy::getBasedClass

/**
* @brief gets the based class in the inherited relation.
* @return Expression
*/
pub fn getBasedClass(self: ClassHierarchy) -> Expression;