AnnotatedRelation

/**
* @brief Describe an annotated relation.
*/

Inherit from AnnotatedRelationDO

Primary key: annotation_hash_id: int

schema AnnotatedRelation extends AnnotatedRelationDO {
  @primary annotation_hash_id: int,
  annotated_item_hash_id: int
}

AnnotatedRelation::getAnnotatedElement

/**
* @brief gets the annotated element, like class, method, field and so on.
* @return ExpressionParent 
*/
pub fn getAnnotatedElement(self: AnnotatedRelation) -> ExpressionParent;

AnnotatedRelation::getAnnotatedItemHashId

/**
* @brief gets the annotated item hash id of this element.
* @return int
*/
pub fn getAnnotatedItemHashId(self: AnnotatedRelation) -> int;

AnnotatedRelation::__all__

Data constraint method.

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

AnnotatedRelation::getAnnotation

/**
* @brief gets the Annotation of the annotated relation.
* @return Annotation 
*/
pub fn getAnnotation(self: AnnotatedRelation) -> Annotation;