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
*/
- Parameter
self
:ClassHierarchy
- Return
int
pub fn getClassOid(self: ClassHierarchy) -> int;
ClassHierarchy::getClass
/**
* @brief gets the class in the inherited relation.
* @return Class
*/
- Parameter
self
:ClassHierarchy
- Return
Class
pub fn getClass(self: ClassHierarchy) -> Class;
ClassHierarchy::__all__
Data constraint method.
- Parameter
db
:PythonDB
- Return
*ClassHierarchy
pub fn __all__(db: PythonDB) -> *ClassHierarchy;
ClassHierarchy::getBasedClass
/**
* @brief gets the based class in the inherited relation.
* @return Expression
*/
- Parameter
self
:ClassHierarchy
- Return
Expression
pub fn getBasedClass(self: ClassHierarchy) -> Expression;