org.midao.jdbc.core.handlers.model
Class CallResults<T,S>

java.lang.Object
  extended by org.midao.jdbc.core.handlers.model.CallResults<T,S>

public class CallResults<T,S>
extends java.lang.Object

Wrapper for @see QueryRunner.call(org.midao.jdbc.core.handlers.input.InputHandler, org.midao.jdbc.core.handlers.output.OutputHandler) Used when needed to return Procedure/Function return and OUT parameters at once


Constructor Summary
CallResults(java.lang.String procedureName, boolean isFunction)
          Creates new CallResults instance
 
Method Summary
 T getCallInput()
           
 S getCallOutput()
           
 java.lang.String getProcedureName()
           
 boolean isFunction()
           
 void setCallInput(T callInput)
           
 void setCallOutput(S callOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallResults

public CallResults(java.lang.String procedureName,
                   boolean isFunction)
Creates new CallResults instance

Parameters:
procedureName - Stored Procedure/Function name
isFunction - true if it is Stored Function
Method Detail

getCallInput

public T getCallInput()

setCallInput

public void setCallInput(T callInput)

getCallOutput

public S getCallOutput()

setCallOutput

public void setCallOutput(S callOutput)

getProcedureName

public java.lang.String getProcedureName()

isFunction

public boolean isFunction()


Copyright © 2013. All Rights Reserved.