net.sf.farrago.ddl
Class DdlSavepointTxnStmt

java.lang.Object
  extended by net.sf.farrago.ddl.DdlStmt
      extended by net.sf.farrago.ddl.DdlTxnStmt
          extended by net.sf.farrago.ddl.DdlSavepointTxnStmt
All Implemented Interfaces:
FarragoSessionDdlStmt
Direct Known Subclasses:
DdlReleaseSavepointStmt, DdlRollbackStmt, DdlSavepointStmt

public abstract class DdlSavepointTxnStmt
extends DdlTxnStmt

DdlTxnStmt is a base for all statements which operate on a savepoint (e.g. RELEASE SAVEPOINT).

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

Field Summary
private  String savepointName
           
 
Constructor Summary
DdlSavepointTxnStmt(String savepointName)
          Constructs a new DdlSavepointTxnStmt.
 
Method Summary
 String 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, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

savepointName

private final String savepointName
Constructor Detail

DdlSavepointTxnStmt

public DdlSavepointTxnStmt(String savepointName)
Constructs a new DdlSavepointTxnStmt.

Parameters:
savepointName - name of savepoint operated on by this statement
Method Detail

getSavepointName

public String getSavepointName()
Returns:
name of savepoint operated on by this statement