com.syrtsov.ddao.ops
Class InsertSqlOperation

java.lang.Object
  extended by com.syrtsov.ddao.ops.UpdateSqlOperation
      extended by com.syrtsov.ddao.ops.InsertSqlOperation
All Implemented Interfaces:
SqlOperation

public class InsertSqlOperation
extends UpdateSqlOperation

Created by: Pavel Syrtsov Date: Apr 24, 2007 Time: 1:43:33 AM


Constructor Summary
InsertSqlOperation()
           
 
Method Summary
 void init(java.lang.reflect.Method method)
          initialize instance with data defined by annotations attached to given method
 
Methods inherited from class com.syrtsov.ddao.ops.UpdateSqlOperation
init, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertSqlOperation

public InsertSqlOperation()
Method Detail

init

public void init(java.lang.reflect.Method method)
          throws InitializerException
Description copied from interface: SqlOperation
initialize instance with data defined by annotations attached to given method

Specified by:
init in interface SqlOperation
Overrides:
init in class UpdateSqlOperation
Parameters:
method - - method that should be used to initialize this operation, usually we use annotation attached to this method and that annotation has SQL
Throws:
InitializerException - - thrown when given method can not be used to initialize this operation