XmlFile

/**
* @brief An xml file.
*/

Inherit from XmlFileDO

Primary key: id: int

schema XmlFile extends XmlFileDO {
  @primary id: int,
  file_name: string,
  relative_path: string
}

XmlFile::getFileName

/**
* @brief gets the name of the file.
* @return string 
*/
  • Parameter self: XmlFile
  • Return string
pub fn getFileName(self: XmlFile) -> string;

XmlFile::__all__

Data constraint method.

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

XmlFile::getRelativePath

/**
* @brief gets the relative path of the file.
* @return string 
*/
  • Parameter self: XmlFile
  • Return string
pub fn getRelativePath(self: XmlFile) -> string;