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
*/
- Parameter
self
:AnnotatedRelation
- Return
ExpressionParent
pub fn getAnnotatedElement(self: AnnotatedRelation) -> ExpressionParent;
AnnotatedRelation::getAnnotatedItemHashId
/**
* @brief gets the annotated item hash id of this element.
* @return int
*/
- Parameter
self
:AnnotatedRelation
- Return
int
pub fn getAnnotatedItemHashId(self: AnnotatedRelation) -> int;
AnnotatedRelation::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*AnnotatedRelation
pub fn __all__(db: JavaDB) -> *AnnotatedRelation;
AnnotatedRelation::getAnnotation
/**
* @brief gets the Annotation of the annotated relation.
* @return Annotation
*/
- Parameter
self
:AnnotatedRelation
- Return
Annotation
pub fn getAnnotation(self: AnnotatedRelation) -> Annotation;