Parameter

/**
* @brief A parameter of a method, foreach statement or catch block.
*/

Inherit from ParameterDO

Primary key: element_hash_id: int

schema Parameter extends ParameterDO {
  @primary element_hash_id: int,
  name: string,
  index_order: int,
  parent_hash_id: int,
  location_hash_id: int,
  printable_text: string,
  type_hash_id: int
}

Parameter::getParentHashId

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

Parameter::getIndex

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

Parameter::getLocationHashId

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

Parameter::getParent

/**
* @brief gets the parent of the element, which can be a for each statement, lambda expression, a callable, or a catch clause section.
* @return ExpressionParent 
*/
pub fn getParent(self: Parameter) -> ElementParent;

Parameter::getType

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

Parameter::getName

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

Parameter::getTypeHashId

/**
* @brief gets the type hash id of this element.
* @return int
*/
pub fn getTypeHashId(self: Parameter) -> int;

Parameter::getTypeElement

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

Parameter::getAnAncestor

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

Parameter::getIdentifier

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

Parameter::getTypeName

/**
* @brief gets the name of the parameter
* @return string 
*/
pub fn getTypeName(self: Parameter) -> string;

Parameter::getAnnotation

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

Parameter::__all__

Data constraint method.

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

Parameter::getLocation

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

Parameter::getPrintableText

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