thinkmap.datasource.database
Class OutResult

java.lang.Object
  extended by thinkmap.datasource.database.OutResult

public class OutResult
extends Object

Map a result set, returned by a stored procedure through an out parameter, to thinkmap entities.

Version:
$Revision: 1.3 $

Constructor Summary
OutResult()
           
 
Method Summary
 int getParameterIndex()
          Get the out parameter's (0-based) index.
 EntityResultMapping[] getResults()
          Get the EntityResultMapping array used when sending back results.
 void setParameterIndex(int parameterIndex)
          Set the out parameter's (0-based) index.
 void setResults(EntityResultMapping[] entityMappings)
          Set the EntityResultMapping array used when sending back results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutResult

public OutResult()
Method Detail

getParameterIndex

public int getParameterIndex()
Get the out parameter's (0-based) index.

Returns:
paramter index

setParameterIndex

public void setParameterIndex(int parameterIndex)
Set the out parameter's (0-based) index. The parameter must be a cursor or other type that returns a result set.

Parameters:
parameterIndex - parameter index

setResults

public void setResults(EntityResultMapping[] entityMappings)
Set the EntityResultMapping array used when sending back results.

Parameters:
entityMappings - EntityResultMapping array

getResults

public EntityResultMapping[] getResults()
Get the EntityResultMapping array used when sending back results.

Returns:
EntityResultMapping array


Copyright © 2013 Thinkmap, Inc. All Rights Reserved.