net.java.ao.schema.ddl
Class SQLAction

java.lang.Object
  extended by net.java.ao.schema.ddl.SQLAction

public final class SQLAction
extends Object

An SQL statement representing some stage of schema modification. This may optionally have a corresponding "undo" action which can be executed to roll back this modification; this will only be done if the modification succeeded but then some later action failed.


Method Summary
 String getStatement()
           
 SQLAction getUndoAction()
           
static SQLAction of(CharSequence statement)
           
 SQLAction withUndoAction(SQLAction undoAction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

of

public static SQLAction of(CharSequence statement)

withUndoAction

public SQLAction withUndoAction(SQLAction undoAction)

getStatement

public String getStatement()

getUndoAction

public SQLAction getUndoAction()


Copyright © 2007-2013. All Rights Reserved.