org.eobjects.metamodel
Interface UpdateScript

All Superinterfaces:
Action<UpdateCallback>
All Known Implementing Classes:
CreateTable, CreateTableColumnBuilder, DeleteFrom, DropTable, InsertInto, Update

public interface UpdateScript
extends Action<UpdateCallback>

Represents any updating operation or update script that can be executed on a UpdateableDataContext. Users of MetaModel should implement their own UpdateScript and submit them to the UpdateableDataContext.executeUpdate(UpdateScript) method for execution.

Author:
Kasper Sørensen

Method Summary
 void run(UpdateCallback callback)
          Invoked by MetaModel when the update script should be run.
 

Method Detail

run

void run(UpdateCallback callback)
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 Action<UpdateCallback>


Copyright © 2007-2013. All Rights Reserved.