ClassHierarchy

/**
* @brief Represents the class hierarchy of all classes.
*/

Inherit from ClassHierarchyDO

Primary key: child_oid: int

schema ClassHierarchy extends ClassHierarchyDO {
  @primary child_oid: int,
  parent_oid: int
}

ClassHierarchy::getParentOid

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

ClassHierarchy::__all__

Data constraint method.

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

ClassHierarchy::getSuperClass

/**
* @brief gets the superclass of the class.
* @return Class 
*/
pub fn getSuperClass(self: ClassHierarchy) -> Class;