net.sf.farrago.ddl
Class DdlAlterIdentityColumnStmt

java.lang.Object
  extended by net.sf.farrago.ddl.DdlStmt
      extended by net.sf.farrago.ddl.DdlAlterStmt
          extended by net.sf.farrago.ddl.DdlAlterIdentityColumnStmt
All Implemented Interfaces:
FarragoSessionDdlStmt

public class DdlAlterIdentityColumnStmt
extends DdlAlterStmt

Statement for altering an identity column. This statement is one form of an alter table statement and is possible because only one table action is performed at a time.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlAlterIdentityColumnStmt.java#7 $
Author:
John Pham

Field Summary
private  FarragoSequenceOptions options
           
 
Constructor Summary
DdlAlterIdentityColumnStmt(CwmColumn column, FarragoSequenceOptions options)
           
 
Method Summary
protected  void execute(FarragoSessionDdlValidator ddlValidator, FarragoSession session)
          Execute the alter statement
 
Methods inherited from class net.sf.farrago.ddl.DdlAlterStmt
alterIdentityColumn, postCommit, preValidate, setColumn, visit
 
Methods inherited from class net.sf.farrago.ddl.DdlStmt
getModelElement, isDropRestricted, postExecute, preExecute, requiresCommit, runsAsDml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

options

private FarragoSequenceOptions options
Constructor Detail

DdlAlterIdentityColumnStmt

public DdlAlterIdentityColumnStmt(CwmColumn column,
                                  FarragoSequenceOptions options)
Method Detail

execute

protected void execute(FarragoSessionDdlValidator ddlValidator,
                       FarragoSession session)
Description copied from class: DdlAlterStmt
Execute the alter statement

Specified by:
execute in class DdlAlterStmt
Parameters:
ddlValidator - the session validator
session - a reentrant session