org.eobjects.metamodel.drop
Class DropTable
java.lang.Object
org.eobjects.metamodel.drop.DropTable
- All Implemented Interfaces:
- UpdateScript, Action<UpdateCallback>
public final class DropTable
- extends Object
- implements UpdateScript
Represents a single DROP TABLE operation to be applied to a
UpdateableDataContext. Instead of providing a custom implementation
of the UpdateScript interface, one can use this pre-built drop table
implementation. Some DataContexts may even optimize specifically
based on the knowledge that there will only be a single table dropped.
|
Method Summary |
void |
run(UpdateCallback callback)
Invoked by MetaModel when the update script should be run. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DropTable
public DropTable(Table table)
DropTable
public DropTable(String tableName)
DropTable
public DropTable(Schema schema,
String tableName)
DropTable
public DropTable(String schemaName,
String tableName)
run
public void run(UpdateCallback callback)
- Description copied from interface:
UpdateScript
- Invoked by MetaModel when the update script should be run. User should
implement this method and invoke update operations on the
UpdateCallback.
- Specified by:
run in interface UpdateScript- Specified by:
run in interface Action<UpdateCallback>
Copyright © 2007-2013. All Rights Reserved.