Arch4J 1.1

org.arch4j.dataaccess.common
Class BatchResult

java.lang.Object
  |
  +--org.arch4j.dataaccess.common.BatchResult

public class BatchResult
extends Object

This class goes throught the values returned by calling the executeBatch method and inspects the overall of result of the batch query

Version:
1.0
Author:
Vibhu Srinivasan

Constructor Summary
BatchResult(int[] result)
           
 
Method Summary
 boolean fail()
          Method failed.
 List getResults()
          Returns the results.
 boolean pass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchResult

public BatchResult(int[] result)
Method Detail

pass

public boolean pass()

fail

public boolean fail()
Method failed.

Returns:
boolean

getResults

public List getResults()
Returns the results. Each Item in the list contains a Boolean true or a Boolean false depending on if all the queries in the batch were executed or not

Returns:
List

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.