Alias

/**
* @brief An alias.
*/

Inherit from AliasDO

Primary key: element_oid: int

schema Alias extends AliasDO {
  @primary element_oid: int,
  name: string,
  asname: string,
  element_index: int,
  parent_oid: int,
  location_oid: int,
  printable_text: string
}

Alias::getParentOid

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

Alias::getElementIndex

/**
* @brief gets the element index of this element.
* @return int
*/
  • Parameter self: Alias
  • Return int
pub fn getElementIndex(self: Alias) -> int;

Alias::getAsname

/**
* @brief gets the asname of this element.
* @return string
*/
  • Parameter self: Alias
  • Return string
pub fn getAsname(self: Alias) -> string;

Alias::getName

/**
* @brief gets the name of this element.
* @return string
*/
  • Parameter self: Alias
  • Return string
pub fn getName(self: Alias) -> string;

Alias::getLocationOid

/**
* @brief gets the location oid of this element.
* @return int
*/
  • Parameter self: Alias
  • Return int
pub fn getLocationOid(self: Alias) -> int;

Alias::getParent

/**
* @brief gets the parent element of the element
* @return CombineElement 
*/
pub fn getParent(self: Alias) -> CombineElement;

Alias::__all__

Data constraint method.

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

Alias::getAnAncestor

/**
* @brief gets an ancestor of the element.
* @return CombineElement 
*/
pub fn getAnAncestor(self: Alias) -> *CombineElement;

Alias::getLocation

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

Alias::getPrintableText

/**
* @brief gets the printable text of this element.
* @return string
*/
  • Parameter self: Alias
  • Return string
pub fn getPrintableText(self: Alias) -> string;