FieldDeclaration
Inherit from ValueDeclaration
Primary key: oid: int
schema FieldDeclaration extends ValueDeclaration {
@primary oid: int,
parent_oid: int,
index_order: int,
location_oid: int,
kind_name: string,
printable_text: string
}
FieldDeclaration::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:FieldDeclaration
- Return
Location
pub fn getLocation(self: FieldDeclaration) -> Location;
FieldDeclaration::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:FieldDeclaration
- Return
*ElementParent
pub fn getAnAncestor(self: FieldDeclaration) -> *ElementParent;
FieldDeclaration::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:FieldDeclaration
- Return
string
pub fn getPrintableText(self: FieldDeclaration) -> string;
FieldDeclaration::getName
/**
* @brief gets the name of the named declaration.
* @return string
*/
- Parameter
self
:FieldDeclaration
- Return
string
pub fn getName(self: FieldDeclaration) -> string;
FieldDeclaration::getLocationOid
/**
* @brief gets the location oid of this element.
* @return int
*/
- Parameter
self
:FieldDeclaration
- Return
int
pub fn getLocationOid(self: FieldDeclaration) -> int;
FieldDeclaration::getKindName
/**
* @brief Declaration kind name
* @return string
*/
- Parameter
self
:FieldDeclaration
- Return
string
pub fn getKindName(self: FieldDeclaration) -> string;
FieldDeclaration::getParent
/**
* @brief gets the parent of the field belong to.
* @return Type
*/
- Parameter
self
:FieldDeclaration
- Return
RecordDeclaration
pub fn getParent(self: FieldDeclaration) -> RecordDeclaration;
FieldDeclaration::getType
/**
* @brief gets the type of the field
* @return Type
*/
- Parameter
self
:FieldDeclaration
- Return
Type
pub fn getType(self: FieldDeclaration) -> Type;
FieldDeclaration::__all__
Data constraint method.
- Parameter
db
:CfamilyDB
- Return
*FieldDeclaration
pub fn __all__(db: CfamilyDB) -> *FieldDeclaration;
FieldDeclaration::getIndexOrder
/**
* @brief gets the index order of this element.
* @return int
*/
- Parameter
self
:FieldDeclaration
- Return
int
pub fn getIndexOrder(self: FieldDeclaration) -> int;
FieldDeclaration::getParentOid
/**
* @brief gets the parent oid of this element.
* @return int
*/
- Parameter
self
:FieldDeclaration
- Return
int
pub fn getParentOid(self: FieldDeclaration) -> int;