XmlCommentDO

/**
* @brief DO class: An xml comment.
*/

Primary key: id: int

schema XmlCommentDO {
  @primary id: int,
  text: string,
  parent_id: int,
  location_id: int
}

XmlCommentDO::getLocationId

/**
* @brief gets the location id of this element.
* @return int
*/
pub fn getLocationId(self: XmlCommentDO) -> int;

XmlCommentDO::getParentId

/**
* @brief gets the parent id of the element.
* @return int
*/
pub fn getParentId(self: XmlCommentDO) -> int;

XmlCommentDO::__all__

Data constraint method.

pub fn __all__(db: XmlDB) -> *XmlCommentDO;

XmlCommentDO::getText

/**
* @brief gets the text of the comment.
* @return string 
*/
pub fn getText(self: XmlCommentDO) -> string;