Import
/**
* @brief An import statement.
*/
Inherit from ImportDO
Primary key: element_hash_id: int
schema Import extends ImportDO {
@primary element_hash_id: int,
reference_hash_id: int,
name: string,
parent_hash_id: int,
location_hash_id: int,
is_foreign_import: int
}
Import::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:Import
- Return
int
pub fn getParentHashId(self: Import) -> int;
Import::getIdentifier
/**
* @brief description
* @return string
*/
- Parameter
self
:Import
- Return
Identifier
pub fn getIdentifier(self: Import) -> Identifier;
Import::getTargetName
/**
* @brief gets the target name of the statement.
* @return string
*/
- Parameter
self
:Import
- Return
string
pub fn getTargetName(self: Import) -> string;
Import::getName
/**
* @brief gets the name of the import statement.
* @return string
*/
- Parameter
self
:Import
- Return
string
pub fn getName(self: Import) -> string;
Import::getReferenceHashId
/**
* @brief gets the reference hash id of this element.
* @return int
*/
- Parameter
self
:Import
- Return
int
pub fn getReferenceHashId(self: Import) -> int;
Import::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:Import
- Return
int
pub fn getLocationHashId(self: Import) -> int;
Import::getIsForeignImport
/**
* @brief gets the is foreign import of this element.
* @return int
*/
- Parameter
self
:Import
- Return
int
pub fn getIsForeignImport(self: Import) -> int;
Import::getContainingFile
/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getContainingFile(self: Import) -> File;
Import::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: Import) -> Location;
Import::__all__
Data constraint method.
pub fn __all__(db: JavaDB) -> *Import;
Import::getReferenceElement
/**
* @brief gets the reference element of the statement
* @return ReferenceElement
*/
- Parameter
self
:Import
- Return
ReferenceElement
pub fn getReferenceElement(self: Import) -> ReferenceElement;
Import::getPrintableText
/**
* @brief gets the printable text of this element.
* @return string
*/
- Parameter
self
:Import
- Return
string
pub fn getPrintableText(self: Import) -> string;