XmlElementName

/**
* @brief An xml element name.
*/

Inherit from XmlElementNameDO

Primary key: id: int

schema XmlElementName extends XmlElementNameDO {
  name: string,
  @primary id: int,
  parent_id: int,
  location_id: int
}

XmlElementName::getName

/**
* @brief gets the name of the element.
* @return string 
*/
pub fn getName(self: XmlElementName) -> string;

XmlElementName::getLocation

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

XmlElementName::getLocationId

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

XmlElementName::__all__

Data constraint method.

pub fn __all__(db: XmlDB) -> *XmlElementName;

XmlElementName::getParentId

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

XmlElementName::getParent

/**
* @brief gets the xml element of the element.
* @return XmlElement 
*/
pub fn getParent(self: XmlElementName) -> XmlElement;