XmlComment

/**
* @brief An xml comment.
*/

Inherit from XmlCommentDO

Primary key: id: int

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

XmlComment::getText

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

XmlComment::getParentId

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

XmlComment::__all__

Data constraint method.

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

XmlComment::getLocationId

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

XmlComment::getLocation

/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: XmlComment) -> Location;