CommentDO
/**
* @brief DO class: A comment.
*/
Primary key: element_hash_id: int
schema CommentDO {
@primary element_hash_id: int,
text: string,
parent_hash_id: int,
location_hash_id: int,
comment_type: string
}
CommentDO::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:CommentDO
- Return
int
pub fn getParentHashId(self: CommentDO) -> int;
CommentDO::getCommentType
/**
* @brief gets the comment type of this element.
* @return string
*/
- Parameter
self
:CommentDO
- Return
string
pub fn getCommentType(self: CommentDO) -> string;
CommentDO::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:CommentDO
- Return
int
pub fn getLocationHashId(self: CommentDO) -> int;
CommentDO::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*CommentDO
pub fn __all__(db: JavaDB) -> *CommentDO;
CommentDO::getText
/**
* @brief gets the text of this element.
* @return string
*/
- Parameter
self
:CommentDO
- Return
string
pub fn getText(self: CommentDO) -> string;