LocalVariable

/**
* @brief A local variable.
*/

Inherit from LocalVariableDO

Primary key: element_hash_id: int

schema LocalVariable extends LocalVariableDO {
  @primary element_hash_id: int,
  parent_hash_id: int,
  location_hash_id: int,
  printable_text: string,
  name: string,
  index_order: int
}

LocalVariable::getName

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

LocalVariable::getParentHashId

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

LocalVariable::getIndex

/**
* @brief gets the index order of this element.
* @return int
*/
pub fn getIndex(self: LocalVariable) -> int;

LocalVariable::getParent

/**
* @brief gets the parent of the element.
* @return ElementParent 
*/
pub fn getParent(self: LocalVariable) -> ElementParent;

LocalVariable::getLocationHashId

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

LocalVariable::getExpression

/**
* @brief gets the expression of the local variable.
* @return Expression 
*/
pub fn getExpression(self: LocalVariable) -> Expression;

LocalVariable::getAnAncestor

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

LocalVariable::getIdentifier

/**
* @brief gets the identifier of the local variable.
* @return Identifier 
*/
pub fn getIdentifier(self: LocalVariable) -> Identifier;

LocalVariable::getPrintableText

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

LocalVariable::getLocation

/**
* @brief gets the location of the local variable.
* @return Location 
*/
pub fn getLocation(self: LocalVariable) -> Location;

LocalVariable::__all__

Data constraint method.

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

LocalVariable::getType

/**
* @brief gets the type for the element.
* @return Type
*/
pub fn getType(self: LocalVariable) -> Type;

LocalVariable::getReferenced

/**
* @brief gets the reference expression of the local variable.
* @return Expression 
*/
pub fn getReferenced(self: LocalVariable) -> Expression;

LocalVariable::getTypeElement

/**
* @brief gets the type element for the element.
* @return TypeElement
*/
pub fn getTypeElement(self: LocalVariable) -> TypeElement;

LocalVariable::getAnnotation

/**
* @brief gets the annotation of the class, if any.
* @return Annotation 
*/
pub fn getAnnotation(self: LocalVariable) -> Annotation;