XmlFileDO
/**
* @brief DO class: An xml file.
*/
Primary key: id: int
schema XmlFileDO {
@primary id: int,
file_name: string,
relative_path: string
}
XmlFileDO::getRelativePath
/**
* @brief gets the relative path of the file.
* @return string
*/
- Parameter
self
:XmlFileDO
- Return
string
pub fn getRelativePath(self: XmlFileDO) -> string;
XmlFileDO::__all__
Data constraint method.
- Parameter
db
:XmlDB
- Return
*XmlFileDO
pub fn __all__(db: XmlDB) -> *XmlFileDO;
XmlFileDO::getFileName
/**
* @brief gets the name of the file.
* @return string
*/
- Parameter
self
:XmlFileDO
- Return
string
pub fn getFileName(self: XmlFileDO) -> string;