org.dasein.persist.attributes
Class CreateAttributes

java.lang.Object
  extended by org.dasein.persist.Execution
      extended by org.dasein.persist.attributes.CreateAttributes

public class CreateAttributes
extends Execution


Field Summary
 
Fields inherited from class org.dasein.persist.Execution
connection, DASEIN_PERSIST_PROPERTIES, data, dsn, PROPERTIES, results, statement
 
Constructor Summary
CreateAttributes()
           
 
Method Summary
 String getStatement()
           
 Map<String,Object> run(Transaction xaction, Map<String,Object> params)
           
 
Methods inherited from class org.dasein.persist.Execution
close, execute, getConnection, getDataSource, getDataSourceName, getDataSourceName, getIdentifier, getIdentifier, getInstance, getQuotes, getState, getStatement, getStatement, isReadOnly, isUpperCase, loadStringTranslations, removeStringTranslations, run, saveStringTranslation, saveStringTranslation, setData, setDsn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateAttributes

public CreateAttributes()
Method Detail

getStatement

public String getStatement()
                    throws SQLException
Overrides:
getStatement in class Execution
Returns:
the SQL for this event
Throws:
SQLException

run

public Map<String,Object> run(Transaction xaction,
                              Map<String,Object> params)
                       throws PersistenceException,
                              SQLException
Overrides:
run in class Execution
Throws:
PersistenceException
SQLException


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.