NpMethod

Inherit from NpMethodDO

Primary key: element_hash_id: int

schema NpMethod extends NpMethodDO {
  @primary element_hash_id: int,
  name: string,
  signature: string,
  type_hash_id: int,
  parent_hash_id: int
}

NpMethod::getSignature

/**
* @brief gets the signature of this element.
* @return string
*/
  • Parameter self: NpMethod
  • Return string
pub fn getSignature(self: NpMethod) -> string;

NpMethod::getParent

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

NpMethod::getName

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

NpMethod::getParentHashId

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

NpMethod::getType

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

NpMethod::__all__

Data constraint method.

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

NpMethod::getTypeHashId

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