XmlAttribute

/**
* @brief An xml attribute.
*/

Inherit from XmlAttributeDO

Primary key: id: int

schema XmlAttribute extends XmlAttributeDO {
  @primary id: int,
  element_id: int,
  name: string,
  value: string,
  index_order: int,
  location_id: int
}

XmlAttribute::getIndex

/**
* @brief gets the index of the element.
* @return int 
*/
pub fn getIndex(self: XmlAttribute) -> int;

XmlAttribute::getName

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

XmlAttribute::getValue

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

XmlAttribute::getXmlElement

/**
* @brief gets the xml element of the attribute
* @return XmlElement 
*/
pub fn getXmlElement(self: XmlAttribute) -> XmlElement;

XmlAttribute::__all__

Data constraint method.

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

XmlAttribute::getLocation

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

XmlAttribute::getLocationId

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

XmlAttribute::getElementId

/**
* @brief gets the element id of the attribute.
* @return int 
*/
pub fn getElementId(self: XmlAttribute) -> int;