NpClass

/**
* @brief Represents a non-physical class.
*/

Inherit from NpClassDO

Primary key: element_hash_id: int

schema NpClass extends NpClassDO {
  @primary element_hash_id: int,
  name: string,
  qualified_name: string,
  parent_hash_id: int
}

NpClass::getParentHashId

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

NpClass::getName

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

NpClass::__all__

Data constraint method.

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

NpClass::getQualifiedName

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

NpClass::getParent

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