public class TransactionStatement extends JavaStatement
ProgramElement.TreeStructure
SourceElement.Position
Modifier and Type | Field and Description |
---|---|
static int |
ABORT |
static int |
BEGIN |
static int |
COMMIT |
static int |
FINISH |
private static long |
serialVersionUID |
private int |
type |
parent
comments
factory
STRUCTURAL_EQUALITY, STRUCTURAL_HASH_CODE
Modifier | Constructor and Description |
---|---|
|
TransactionStatement(int type) |
protected |
TransactionStatement(TransactionStatement proto) |
Modifier and Type | Method and Description |
---|---|
void |
accept(SourceVisitor sourceVisitor) |
Statement |
deepClone() |
boolean |
equals(java.lang.Object o) |
ProgramElement |
getChildAt(int index) |
int |
getChildCount() |
int |
getChildPositionCode(ProgramElement arg0) |
int |
getType() |
int |
hashCode() |
boolean |
replaceChild(ProgramElement arg0,
ProgramElement arg1) |
java.lang.String |
toString() |
getASTParent, getStatementContainer, setStatementContainer
getIndexOfChild, getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, makeParentRoleValid, validateAll
getComments, setComments, validate
getEndPosition, getFactory, getFirstElement, getLastElement, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition, toSource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getComments, setComments
getEndPosition, getFactory, getFirstElement, getLastElement, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition, toSource
validate
private static final long serialVersionUID
public static final int BEGIN
public static final int COMMIT
public static final int FINISH
public static final int ABORT
private int type
public TransactionStatement(int type)
protected TransactionStatement(TransactionStatement proto)
public int getType()
public ProgramElement getChildAt(int index)
public Statement deepClone()
public void accept(SourceVisitor sourceVisitor)
public int getChildCount()
public int getChildPositionCode(ProgramElement arg0)
public boolean replaceChild(ProgramElement arg0, ProgramElement arg1)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object