ElementDO

/**
* @brief DO class: An element.
*/

Primary key: element_hash_id: int

schema ElementDO {
  @primary element_hash_id: int,
  type: string,
  parent_id: int,
  parent_type: string
}

ElementDO::getParentType

/**
* @brief gets the parent type of this element.
* @return string
*/
pub fn getParentType(self: ElementDO) -> string;

ElementDO::getParentId

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

ElementDO::__all__

Data constraint method.

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

ElementDO::getType

/**
* @brief gets the type of this element.
* @return string
*/
pub fn getType(self: ElementDO) -> string;