org.axiondb.engine.commands
Class DropConstraintCommand

java.lang.Object
  extended by org.axiondb.engine.commands.BaseAxionCommand
      extended by org.axiondb.engine.commands.ConstraintCommand
          extended by org.axiondb.engine.commands.DropConstraintCommand
All Implemented Interfaces:
AxionCommand

public class DropConstraintCommand
extends ConstraintCommand

A DROP CONSTRAINT command.

Version:
$Revision: 1.17 $ $Date: 2005/12/20 18:32:28 $

Constructor Summary
DropConstraintCommand(java.lang.String tableName, java.lang.String constraintName, boolean cascade)
           
 
Method Summary
protected  void execute(Database db, Table table)
           
 java.lang.String getConstraintName()
           
 void setConstraintName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class org.axiondb.engine.commands.ConstraintCommand
execute, executeQuery, executeUpdate, getTableName, setTableName
 
Methods inherited from class org.axiondb.engine.commands.BaseAxionCommand
assertNotReadOnly, attemptToConvertValue, bindAll, buildBindVariables, clearBindings, createResolveSelectableVisitor, executeQuery, getBindVariableIterator, getBindVariableIterator, getBindVariables, getBindVariableVisitor, getColIdentifierList, getCommitSize, getEffectedRowCount, getResultSet, getRowIterator, makeRowDecorator, populateDefaultValues, populateSequenceColumns, resolveGeneratedColumns, resolveGeneratedColumns, resolveSelectable, resolveSelectable, resolveSelectableList, resolveSelectableList, setBindVariableVisitor, setDeferAllConstraintIfRequired, setEffectedRowCount, setResultSet, updateGeneratedValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DropConstraintCommand

public DropConstraintCommand(java.lang.String tableName,
                             java.lang.String constraintName,
                             boolean cascade)
Method Detail

getConstraintName

public java.lang.String getConstraintName()

setConstraintName

public void setConstraintName(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

execute

protected void execute(Database db,
                       Table table)
                throws AxionException
Specified by:
execute in class ConstraintCommand
Throws:
AxionException