FileDO

/**
* @brief DO class: A file.
*/

Primary key: element_hash_id: int

schema FileDO {
  @primary element_hash_id: int,
  qualified_name: string,
  extension: string,
  name: string,
  number_of_lines_hash_id: int
}

FileDO::getNumberOfLinesHashId

/**
* @brief gets the number of lines hash id of this element.
* @return int
*/
  • Parameter self: FileDO
  • Return int
pub fn getNumberOfLinesHashId(self: FileDO) -> int;

FileDO::getExtension

/**
* @brief gets the extension of this element.
* @return string
*/
  • Parameter self: FileDO
  • Return string
pub fn getExtension(self: FileDO) -> string;

FileDO::getName

/**
* @brief gets the name of this element.
* @return string
*/
  • Parameter self: FileDO
  • Return string
pub fn getName(self: FileDO) -> string;

FileDO::__all__

Data constraint method.

pub fn __all__(db: JavaDB) -> *FileDO;

FileDO::getRelativePath

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