Interface
/**
* @brief An interface.
*/
Inherit from InterfaceDO
Primary key: element_hash_id: int
schema Interface extends InterfaceDO {
@primary element_hash_id: int,
qualified_name: string,
identifier_hash_id: int,
location_hash_id: int,
parent_hash_id: int
}
Interface::getQualifiedName
/**
* @brief gets the qualified name of this element.
* @return string
*/
- Parameter
self
:Interface
- Return
string
pub fn getQualifiedName(self: Interface) -> string;
Interface::getIdentifierHashId
/**
* @brief gets the identifier hash id of this element.
* @return int
*/
- Parameter
self
:Interface
- Return
int
pub fn getIdentifierHashId(self: Interface) -> int;
Interface::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:Interface
- Return
int
pub fn getParentHashId(self: Interface) -> int;
Interface::getParent
/**
* @brief gets the parent of the method.
* @return ClassOrInterface
*/
- Parameter
self
:Interface
- Return
ElementParent
pub fn getParent(self: Interface) -> ElementParent;
Interface::getIdentifier
/**
* @brief gets the identifier of the element.
* @return Identifier
*/
- Parameter
self
:Interface
- Return
Identifier
pub fn getIdentifier(self: Interface) -> Identifier;
Interface::getAnAncestorInterface
/**
* @brief gets all ancestor classes of the element.
* @return Interface
*/
- Parameter
self
:Interface
- Return
*Interface
pub fn getAnAncestorInterface(self: Interface) -> *Interface;
Interface::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:Interface
- Return
*ElementParent
pub fn getAnAncestor(self: Interface) -> *ElementParent;
Interface::getName
/**
* @brief gets the name of the interface.
* @return string
*/
- Parameter
self
:Interface
- Return
string
pub fn getName(self: Interface) -> string;
Interface::getAnnotation
/**
* @brief gets the annotation of the class, if any.
* @return Annotation
*/
- Parameter
self
:Interface
- Return
*Annotation
pub fn getAnnotation(self: Interface) -> *Annotation;
Interface::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: Interface) -> Location;
Interface::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*Interface
pub fn __all__(db: JavaDB) -> *Interface;
Interface::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:Interface
- Return
int
pub fn getLocationHashId(self: Interface) -> int;
Interface::getSuperInterface
/**
* @brief gets the extends interface of the element.
* @return Interface
*/
- Parameter
self
:Interface
- Return
*Interface
pub fn getSuperInterface(self: Interface) -> *Interface;
Interface::getField
/**
* @brief gets all fields of the class.
* @return Field
*/
pub fn getField(self: Interface) -> *Field;
Interface::getMethod
/**
* @brief gets all methods of the class element.
* @return Method
*/
pub fn getMethod(self: Interface) -> *Method;