SynchronizedStatement

/**
* @brief A synchronized statement.
*/

Inherit from Statement

Primary key: element_hash_id: int

schema SynchronizedStatement extends Statement {
  @primary element_hash_id: int,
  parent_hash_id: int,
  index_order: int,
  location_hash_id: int,
  printable_text: string,
  type: string
}

SynchronizedStatement::getAEnclosingStatement

/**
* @brief gets the transitive statement containing this statement.
* @return Statement 
*/
pub fn getAEnclosingStatement(self: SynchronizedStatement) -> *Statement;

SynchronizedStatement::getType

/**
* @brief gets the type of this element.
* @return string
*/
pub fn getType(self: SynchronizedStatement) -> string;

SynchronizedStatement::getEnclosingStatement

/**
* @brief gets the statement containing this statement.
* @return Statement 
*/
pub fn getEnclosingStatement(self: SynchronizedStatement) -> Statement;

SynchronizedStatement::getParentHashId

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

SynchronizedStatement::getAChild

/**
* @brief gets a child of this statement.
* @return Statement 
*/
pub fn getAChild(self: SynchronizedStatement) -> *Statement;

SynchronizedStatement::getIndex

/**
* @brief gets the index order of this element.
* @return int
*/
pub fn getIndex(self: SynchronizedStatement) -> int;

SynchronizedStatement::getLockExpression

/**
* @brief gets the expression on which the statement synchronizes.
* @return Expression 
*/
pub fn getLockExpression(self: SynchronizedStatement) -> Expression;

SynchronizedStatement::getBody

/**
* @brief gets the body of this synchronized statement
* @return Statement 
*/
pub fn getBody(self: SynchronizedStatement) -> Statement;

SynchronizedStatement::getParent

/**
* @brief gets the parent element of the statement
* @return StatementParent 
*/
pub fn getParent(self: SynchronizedStatement) -> ElementParent;

SynchronizedStatement::getLocationHashId

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

SynchronizedStatement::getSize

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

SynchronizedStatement::getAnAncestor

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

SynchronizedStatement::__all__

Data constraint method.

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

SynchronizedStatement::getLocation

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

SynchronizedStatement::getPrintableText

/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
pub fn getPrintableText(self: SynchronizedStatement) -> string;

SynchronizedStatement::getEnclosingCallable

/**
* @brief gets the immediately enclosing callable (method or constructor) whose body contains this statement.
* @return Callable 
*/
pub fn getEnclosingCallable(self: SynchronizedStatement) -> Callable;