Cupackage

/** * @brief A compilation unit and its declared package, a .java file. */ 

Inherit from CupackageDO

Primary key: file_hash_id: int

schema Cupackage extends CupackageDO { @primary file_hash_id: int, package_hash_id: int } 

Cupackage::getPackage

/** * @brief gets the package of the element. * @return Package */ 
pub fn getPackage(self: Cupackage) -> Package; 

Cupackage::__all__

Data constraint method.

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

Cupackage::getPackageHashId

/** * @brief gets the package hash id of this element. * @return int */ 
pub fn getPackageHashId(self: Cupackage) -> int; 

Cupackage::getCompilationUnit

/** * @brief gets the compilation unit. * @return File */ 
pub fn getCompilationUnit(self: Cupackage) -> File;