CodeBlockDO

/**
* @brief DO class: A code block.
*/

Primary key: element_hash_id: int

schema CodeBlockDO {
  @primary element_hash_id: int,
  number_of_statement: int,
  parent_hash_id: int,
  is_empty: int,
  location_hash_id: int,
  printable_text: string
}

CodeBlockDO::getNumberOfStatement

/**
* @brief gets the number of statement of this element.
* @return int
*/
pub fn getNumberOfStatement(self: CodeBlockDO) -> int;

CodeBlockDO::getParentHashId

/**
* @brief gets the parent hash id of this element.
* @return int
*/
pub fn getParentHashId(self: CodeBlockDO) -> int;

CodeBlockDO::__all__

Data constraint method.

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

CodeBlockDO::getLocationHashId

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

CodeBlockDO::getPrintableText

/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
pub fn getPrintableText(self: CodeBlockDO) -> string;

CodeBlockDO::getIsEmpty

/**
* @brief gets the is empty of this element.
* @return int
*/
pub fn getIsEmpty(self: CodeBlockDO) -> int;