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 */ 
pub fn getSourceId(self: ReferenceRelation) -> int; 

ReferenceRelation::getDestination

/** * @brief get the destination of this reference relation. * @return ExpressionParent */ 
pub fn getDestination(self: ReferenceRelation) -> ElementParent; 

ReferenceRelation::__all__

Data constraint method.

pub fn __all__(db: JavaDB) -> *ReferenceRelation; 

ReferenceRelation::getDefinitionElementHashId

/** * @brief gets the definition element hash id of this element. * @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 */ 
pub fn getSource(self: ReferenceRelation) -> ElementParent;