org.axiondb.engine.commands
Class AddConstraintCommand
java.lang.Object
org.axiondb.engine.commands.BaseAxionCommand
org.axiondb.engine.commands.ConstraintCommand
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 $
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 |
AddConstraintCommand
public AddConstraintCommand(String tableName,
Constraint constraint)
getConstraint
public Constraint getConstraint()
execute
protected void execute(Database db,
Table table)
throws AxionException
- Specified by:
execute
in class ConstraintCommand
- Throws:
AxionException