DiagnosticDO

/**
* @brief DO class: A diagnostic.
*/

Primary key: oid: int

schema DiagnosticDO {
  @primary oid: int,
  severity: int,
  error_tag: string,
  error_message: string,
  full_error_message: string,
  location_id: int
}

DiagnosticDO::getLocationId

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

DiagnosticDO::getErrorTag

/**
* @brief gets the error tag of this element.
* @return string
*/
pub fn getErrorTag(self: DiagnosticDO) -> string;

DiagnosticDO::__all__

Data constraint method.

pub fn __all__(db: GoDB) -> *DiagnosticDO;

DiagnosticDO::getErrorMessage

/**
* @brief gets the error message of this element.
* @return string
*/
pub fn getErrorMessage(self: DiagnosticDO) -> string;

DiagnosticDO::getSeverity

/**
* @brief gets the severity of this element.
* @return int
*/
pub fn getSeverity(self: DiagnosticDO) -> int;

DiagnosticDO::getFullErrorMessage

/**
* @brief gets the full error message of this element.
* @return string
*/
pub fn getFullErrorMessage(self: DiagnosticDO) -> string;