EnumClass

/**
* @brief A java enum class with a keyword 'enum'.
*/

Inherit from Class

Primary key: element_hash_id: int

schema EnumClass extends Class {
  @primary element_hash_id: int,
  qualified_name: string,
  identifier_hash_id: int,
  location_hash_id: int,
  parent_hash_id: int
}

EnumClass::getSuperOrImplementsType

/**
* @brief gets the super class or implemented interface of the class element.
* @return ClassOrInterface 
*/
pub fn getSuperOrImplementsType(self: EnumClass) -> *ClassOrInterface;

EnumClass::getModifier

/**
* @brief gets the modifier of the Class
* @return Modifier 
*/
pub fn getModifier(self: EnumClass) -> *Modifier;

EnumClass::getParentHashId

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

EnumClass::getIdentifierHashId

/**
* @brief gets the identifier hash id of this element.
* @return int
*/
pub fn getIdentifierHashId(self: EnumClass) -> int;

EnumClass::getParent

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

EnumClass::getAnnotation

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

EnumClass::getAnAscentantClassOrInterface

/**
* @brief gets any ascentant class or interface of the class element.
* @return ClassOrInterface 
*/
pub fn getAnAscentantClassOrInterface(self: EnumClass) -> *ClassOrInterface;

EnumClass::getName

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

EnumClass::getPackage

/**
* @brief gets the package of the class element.
* @return Package 
*/
pub fn getPackage(self: EnumClass) -> Package;

EnumClass::getAllMethods

/**
* @brief gets all methods of the class element.
* @return Method 
*/
pub fn getAllMethods(self: EnumClass) -> *Method;

EnumClass::getQualifiedName

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

EnumClass::getIdentifier

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

EnumClass::getSuperClass

/**
* @brief gets the super class of the element.
* @return Class 
*/
pub fn getSuperClass(self: EnumClass) -> Class;

EnumClass::getImplementsInterface

/**
* @brief gets the implemented interface of the class element.
* @return Interface 
*/
pub fn getImplementsInterface(self: EnumClass) -> *Interface;

EnumClass::getSize

/**
* @brief gets the size information of the class element.
* @return NumberOfLines 
*/
pub fn getSize(self: EnumClass) -> NumberOfLines;

EnumClass::getAllFields

/**
* @brief gets all fields of the class.
* @return Field 
*/
pub fn getAllFields(self: EnumClass) -> *Field;

EnumClass::getLocation

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

EnumClass::getContainingFile

/**
* @brief gets the containing file of the class element.
* @return File 
*/
pub fn getContainingFile(self: EnumClass) -> File;

EnumClass::__all__

Data constraint method.

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

EnumClass::getLocationHashId

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

EnumClass::getAnAncestor

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

EnumClass::getAnAncestorClass

/**
* @brief gets all ancestor classes of the element.
* @return Class
*/
pub fn getAnAncestorClass(self: EnumClass) -> *Class;