LocalClass

/**
* @brief A local class declaration statement.
*/

Inherit from LocalClassDO

Primary key: element_hash_id: int

schema LocalClass extends LocalClassDO {
  @primary element_hash_id: int,
  name: string,
  printable_text: string,
  location_hash_id: int,
  parent_hash_id: int
}

LocalClass::getPrintableText

/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
pub fn getPrintableText(self: LocalClass) -> string;

LocalClass::__all__

Data constraint method.

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

LocalClass::getLocation

/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: LocalClass) -> Location;

LocalClass::getAnAncestor

/**
* @brief gets an ancestor of the element.
* @return ElementParent 
*/
pub fn getAnAncestor(self: LocalClass) -> *ElementParent;

LocalClass::getLocationHashId

/**
* @brief gets the location hash id of this element.
* @return int
*/
pub fn getLocationHashId(self: LocalClass) -> int;

LocalClass::getParent

/**
* @brief gets the declaration statement of the element
* @return Statement 
*/
pub fn getParent(self: LocalClass) -> ElementParent;

LocalClass::getName

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

LocalClass::getParentHashId

/**
* @brief gets the parent hash id of this element.
* @return int
*/
pub fn getParentHashId(self: LocalClass) -> int;