MatchCase
/** * @brief A single case pattern in a match statement. */
Inherit from MatchCaseDO
Primary key: element_oid: int
schema MatchCase extends MatchCaseDO { @primary element_oid: int, pattern_oid: int, element_index: int, parent_oid: int, location_oid: int, printable_text: string, is_default: int }
MatchCase::getLocationOid
/** * @brief gets the location oid of this element. * @return int */
- Parameter
self
:MatchCase
- Return
int
pub fn getLocationOid(self: MatchCase) -> int;
MatchCase::getPatternOid
/** * @brief gets the pattern oid of this element. * @return int */
- Parameter
self
:MatchCase
- Return
int
pub fn getPatternOid(self: MatchCase) -> int;
MatchCase::getPrintableText
/** * @brief gets the printable text of this element. * @return string */
- Parameter
self
:MatchCase
- Return
string
pub fn getPrintableText(self: MatchCase) -> string;
MatchCase::getIsDefault
/** * @brief gets the is default of this element. * @return int */
- Parameter
self
:MatchCase
- Return
int
pub fn getIsDefault(self: MatchCase) -> int;
MatchCase::getParent
/** * @brief gets the parent element of the element * @return CombineElement */
- Parameter
self
:MatchCase
- Return
CombineElement
pub fn getParent(self: MatchCase) -> CombineElement;
MatchCase::__all__
Data constraint method.
- Parameter
db
:PythonDB
- Return
*MatchCase
pub fn __all__(db: PythonDB) -> *MatchCase;
MatchCase::getMatchStatement
/** * @brief gets the match statement for the case. * @return MatchStatement */
- Parameter
self
:MatchCase
- Return
MatchStatement
pub fn getMatchStatement(self: MatchCase) -> MatchStatement;
MatchCase::getAnAncestor
/** * @brief gets an ancestor of the element. * @return CombineElement */
- Parameter
self
:MatchCase
- Return
*CombineElement
pub fn getAnAncestor(self: MatchCase) -> *CombineElement;
MatchCase::getParentOid
/** * @brief gets the parent oid of this element. * @return int */
- Parameter
self
:MatchCase
- Return
int
pub fn getParentOid(self: MatchCase) -> int;
MatchCase::getElementIndex
/** * @brief gets the element index of this element. * @return int */
- Parameter
self
:MatchCase
- Return
int
pub fn getElementIndex(self: MatchCase) -> int;
MatchCase::isDefault
/** * @brief gets the default case pattern. * @return int */
- Parameter
self
:MatchCase
- Return
int
pub fn isDefault(self: MatchCase) -> int;