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
*/
- Parameter
self
:XmlElementName
- Return
string
pub fn getName(self: XmlElementName) -> string;
XmlElementName::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:XmlElementName
- Return
Location
pub fn getLocation(self: XmlElementName) -> Location;
XmlElementName::getLocationId
/**
* @brief gets the location id of this element.
* @return int
*/
- Parameter
self
:XmlElementName
- Return
int
pub fn getLocationId(self: XmlElementName) -> int;
XmlElementName::__all__
Data constraint method.
- Parameter
db
:XmlDB
- Return
*XmlElementName
pub fn __all__(db: XmlDB) -> *XmlElementName;
XmlElementName::getParentId
/**
* @brief gets the parent id of the element.
* @return int
*/
- Parameter
self
:XmlElementName
- Return
int
pub fn getParentId(self: XmlElementName) -> int;
XmlElementName::getParent
/**
* @brief gets the xml element of the element.
* @return XmlElement
*/
- Parameter
self
:XmlElementName
- Return
XmlElement
pub fn getParent(self: XmlElementName) -> XmlElement;