ReferenceRelation
/** * @brief Reference relation between reference element to its resolved element. */
Inherit from ReferenceRelationDO
Primary key: reference_element_hash_id: int
schema ReferenceRelation extends ReferenceRelationDO { @primary reference_element_hash_id: int, definition_element_hash_id: int }
ReferenceRelation::getSourceId
/** * @brief gets the reference element id. * @return int */
- Parameter
self
:ReferenceRelation
- Return
int
pub fn getSourceId(self: ReferenceRelation) -> int;
ReferenceRelation::getDestination
/** * @brief get the destination of this reference relation. * @return ExpressionParent */
- Parameter
self
:ReferenceRelation
- Return
ElementParent
pub fn getDestination(self: ReferenceRelation) -> ElementParent;
ReferenceRelation::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*ReferenceRelation
pub fn __all__(db: JavaDB) -> *ReferenceRelation;
ReferenceRelation::getDefinitionElementHashId
/** * @brief gets the definition element hash id of this element. * @return int */
- Parameter
self
:ReferenceRelation
- Return
int
pub fn getDefinitionElementHashId(self: ReferenceRelation) -> int;
ReferenceRelation::getSource
/** * @brief get the reference expression or reference element or import static reference element which references some definitions. * @return Expression */
- Parameter
self
:ReferenceRelation
- Return
ElementParent
pub fn getSource(self: ReferenceRelation) -> ElementParent;