net.sf.farrago.ddl
Class DdlRollbackStmt

java.lang.Object
  extended by net.sf.farrago.ddl.DdlStmt
      extended by net.sf.farrago.ddl.DdlTxnStmt
          extended by net.sf.farrago.ddl.DdlSavepointTxnStmt
              extended by net.sf.farrago.ddl.DdlRollbackStmt
All Implemented Interfaces:
FarragoSessionDdlStmt

public class DdlRollbackStmt
extends DdlSavepointTxnStmt

DdlRollbackStmt represents a ROLLBACK statement.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlRollbackStmt.java#13 $
Author:
John V. Sichi

Constructor Summary
DdlRollbackStmt(String savepointName)
          Constructs a new DdlRollbackStmt.
 
Method Summary
 void visit(DdlVisitor visitor)
          Invokes a visitor on this statement.
 
Methods inherited from class net.sf.farrago.ddl.DdlSavepointTxnStmt
getSavepointName
 
Methods inherited from class net.sf.farrago.ddl.DdlTxnStmt
requiresCommit
 
Methods inherited from class net.sf.farrago.ddl.DdlStmt
getModelElement, isDropRestricted, postCommit, postExecute, preExecute, preValidate, runsAsDml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DdlRollbackStmt

public DdlRollbackStmt(String savepointName)
Constructs a new DdlRollbackStmt.

Parameters:
savepointName - name of savepoint to which to rollback, or null to rollback entire txn
Method Detail

visit

public void visit(DdlVisitor visitor)
Description copied from class: DdlStmt
Invokes a visitor on this statement.

Specified by:
visit in class DdlStmt
Parameters:
visitor - DdlVisitor to invoke