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.12 $ $Date: 2004/08/16 01:40:13 $

Constructor Summary
DropConstraintCommand(String tableName, String constraintName)
           
 
Method Summary
protected  void execute(Database db, Table table)
           
 String getConstraintName()
           
 void setConstraintName(String name)
           
 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
appendBindVariables, assertNotReadOnly, attemptToConvertValue, bind, clearBindings, getBindVariableIterator, getEffectedRowCount, getResultSet, getRowIterator, getRowIterator, getTableForIdentifier, resolveSelectableList, resolveSelectableList, setEffectedRowCount, setResultSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DropConstraintCommand

public DropConstraintCommand(String tableName,
                             String constraintName)
Method Detail

getConstraintName

public String getConstraintName()

setConstraintName

public void setConstraintName(String name)

execute

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

toString

public String toString()
Overrides:
toString in class Object