DecoratedRelation

/**
* @brief A decorated relation.
*/

Inherit from DecoratedRelationDO

Primary key: decorator_oid: int

schema DecoratedRelation extends DecoratedRelationDO {
  @primary decorator_oid: int,
  decorated_element_oid: int
}

DecoratedRelation::getDecoratedElementOid

/**
* @brief gets the decorated element oid of this element.
* @return int
*/
pub fn getDecoratedElementOid(self: DecoratedRelation) -> int;

DecoratedRelation::getDecoratedElement

/**
* @brief gets the decorated element of the relation.
* @return CombineElement
*/
pub fn getDecoratedElement(self: DecoratedRelation) -> CombineElement;

DecoratedRelation::__all__

Data constraint method.

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

DecoratedRelation::getDecorator

/**
* @brief gets the decorator of the relation.
* @return Decorator
*/
pub fn getDecorator(self: DecoratedRelation) -> Decorator;