org.axiondb.engine.commands
Class AddConstraintCommand

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

public class AddConstraintCommand
extends ConstraintCommand

An ADD CONSTRAINT command, as generated by ALTER TABLE and CREATE TABLE statements.

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

Constructor Summary
AddConstraintCommand(java.lang.String tableName, Constraint constraint)
           
 
Method Summary
protected  void execute(Database db, Table table)
           
 Constraint getConstraint()
           
 
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, toString, wait, wait, wait
 

Constructor Detail

AddConstraintCommand

public AddConstraintCommand(java.lang.String tableName,
                            Constraint constraint)
Method Detail

getConstraint

public Constraint getConstraint()

execute

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