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
*/
- Parameter
self
:DecoratedRelation
- Return
int
pub fn getDecoratedElementOid(self: DecoratedRelation) -> int;
DecoratedRelation::getDecoratedElement
/**
* @brief gets the decorated element of the relation.
* @return CombineElement
*/
- Parameter
self
:DecoratedRelation
- Return
CombineElement
pub fn getDecoratedElement(self: DecoratedRelation) -> CombineElement;
DecoratedRelation::__all__
Data constraint method.
- Parameter
db
:PythonDB
- Return
*DecoratedRelation
pub fn __all__(db: PythonDB) -> *DecoratedRelation;
DecoratedRelation::getDecorator
/**
* @brief gets the decorator of the relation.
* @return Decorator
*/
- Parameter
self
:DecoratedRelation
- Return
Decorator
pub fn getDecorator(self: DecoratedRelation) -> Decorator;