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
*/
- Parameter
self
:ClassHierarchy
- Return
int
pub fn getParentOid(self: ClassHierarchy) -> int;
ClassHierarchy::__all__
Data constraint method.
- Parameter
db
:CfamilyDB
- Return
*ClassHierarchy
pub fn __all__(db: CfamilyDB) -> *ClassHierarchy;
ClassHierarchy::getSuperClass
/**
* @brief gets the superclass of the class.
* @return Class
*/
- Parameter
self
:ClassHierarchy
- Return
Class
pub fn getSuperClass(self: ClassHierarchy) -> Class;