ElementDO

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

Primary key: oid: int

schema ElementDO {
  @primary oid: int,
  value: string,
  type: string,
  parent_oid: int
}

ElementDO::getParentOid

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

ElementDO::__all__

Data constraint method.

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

ElementDO::getType

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

ElementDO::getValue

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