Class
/**
* @brief A java class.
*/
Inherit from ClassDO
Primary key: element_hash_id: int
schema Class extends ClassDO {
@primary element_hash_id: int,
qualified_name: string,
identifier_hash_id: int,
location_hash_id: int,
parent_hash_id: int
}
Class::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:Class
- Return
int
pub fn getLocationHashId(self: Class) -> int;
Class::getSize
/**
* @brief gets the size information of the class element.
* @return NumberOfLines
*/
- Parameter
self
:Class
- Return
NumberOfLines
pub fn getSize(self: Class) -> NumberOfLines;
Class::getQualifiedName
/**
* @brief gets the qualified name of this element.
* @return string
*/
- Parameter
self
:Class
- Return
string
pub fn getQualifiedName(self: Class) -> string;
Class::getAllMethods
/**
* @brief gets all methods of the class element.
* @return Method
*/
pub fn getAllMethods(self: Class) -> *Method;
Class::getAllFields
/**
* @brief gets all fields of the class.
* @return Field
*/
pub fn getAllFields(self: Class) -> *Field;
Class::getIdentifier
/**
* @brief gets the identifier of the class name.
* @return Identifier
*/
- Parameter
self
:Class
- Return
Identifier
pub fn getIdentifier(self: Class) -> Identifier;
Class::getAnAncestorClass
/**
* @brief gets all ancestor classes of the element.
* @return Class
*/
pub fn getAnAncestorClass(self: Class) -> *Class;
Class::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:Class
- Return
*ElementParent
pub fn getAnAncestor(self: Class) -> *ElementParent;
Class::getSuperClass
/**
* @brief gets the super class of the element.
* @return Class
*/
pub fn getSuperClass(self: Class) -> Class;
Class::getImplementsInterface
/**
* @brief gets the implemented interface of the class element.
* @return Interface
*/
- Parameter
self
:Class
- Return
*Interface
pub fn getImplementsInterface(self: Class) -> *Interface;
Class::getPackage
/**
* @brief gets the package of the class element.
* @return Package
*/
pub fn getPackage(self: Class) -> Package;
Class::getName
/**
* @brief gets the name of the class.
* @return string
*/
- Parameter
self
:Class
- Return
string
pub fn getName(self: Class) -> string;
Class::getAnAscentantClassOrInterface
/**
* @brief gets any ascentant class or interface of the class element.
* @return ClassOrInterface
*/
- Parameter
self
:Class
- Return
*ClassOrInterface
pub fn getAnAscentantClassOrInterface(self: Class) -> *ClassOrInterface;
Class::getAnnotation
/**
* @brief gets the annotation of the class, if any.
* @return Annotation
*/
- Parameter
self
:Class
- Return
*Annotation
pub fn getAnnotation(self: Class) -> *Annotation;
Class::getContainingFile
/**
* @brief gets the containing file of the class element.
* @return File
*/
pub fn getContainingFile(self: Class) -> File;
Class::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: Class) -> Location;
Class::__all__
Data constraint method.
pub fn __all__(db: JavaDB) -> *Class;
Class::getParent
/**
* @brief gets the parent of the method.
* @return ElementParent
*/
- Parameter
self
:Class
- Return
ElementParent
pub fn getParent(self: Class) -> ElementParent;
Class::getIdentifierHashId
/**
* @brief gets the identifier hash id of this element.
* @return int
*/
- Parameter
self
:Class
- Return
int
pub fn getIdentifierHashId(self: Class) -> int;
Class::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:Class
- Return
int
pub fn getParentHashId(self: Class) -> int;
Class::getModifier
/**
* @brief gets the modifier of the Class
* @return Modifier
*/
pub fn getModifier(self: Class) -> *Modifier;
Class::getSuperOrImplementsType
/**
* @brief gets the super class or implemented interface of the class element.
* @return ClassOrInterface
*/
- Parameter
self
:Class
- Return
*ClassOrInterface
pub fn getSuperOrImplementsType(self: Class) -> *ClassOrInterface;