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
*/
- Parameter
self
:XmlAttribute
- Return
int
pub fn getIndex(self: XmlAttribute) -> int;
XmlAttribute::getName
/**
* @brief gets the name of the attribute.
* @return string
*/
- Parameter
self
:XmlAttribute
- Return
string
pub fn getName(self: XmlAttribute) -> string;
XmlAttribute::getValue
/**
* @brief gets the value of the attribute.
* @return string
*/
- Parameter
self
:XmlAttribute
- Return
string
pub fn getValue(self: XmlAttribute) -> string;
XmlAttribute::getXmlElement
/**
* @brief gets the xml element of the attribute
* @return XmlElement
*/
- Parameter
self
:XmlAttribute
- Return
XmlElement
pub fn getXmlElement(self: XmlAttribute) -> XmlElement;
XmlAttribute::__all__
Data constraint method.
- Parameter
db
:XmlDB
- Return
*XmlAttribute
pub fn __all__(db: XmlDB) -> *XmlAttribute;
XmlAttribute::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:XmlAttribute
- Return
Location
pub fn getLocation(self: XmlAttribute) -> Location;
XmlAttribute::getLocationId
/**
* @brief gets the location id of this element.
* @return int
*/
- Parameter
self
:XmlAttribute
- Return
int
pub fn getLocationId(self: XmlAttribute) -> int;
XmlAttribute::getElementId
/**
* @brief gets the element id of the attribute.
* @return int
*/
- Parameter
self
:XmlAttribute
- Return
int
pub fn getElementId(self: XmlAttribute) -> int;