| 
 | SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.solarmetric.rop.ListResultObjectProvider
A result object provider wrapped around a normal list.
| Constructor Summary | |
| ListResultObjectProvider(List list)Constructor. | |
| Method Summary | |
|  boolean | absolute(int pos)Move to the given 0-based position. | 
|  void | close()Free the resources associated with this provider. | 
|  List | getDelegate() | 
|  Object | getResultObject()Instantiate the current result object. | 
|  void | handleCheckedException(Exception e)Any checked exceptions that are thrown will be passed to this method. | 
|  boolean | next()Advance the input to the next position. | 
|  void | open()Open the result. | 
|  void | reset()Reset this provider. | 
|  int | size()Return the number of items in the input, or Integer.MAX_VALUEif the size in unknown. | 
|  boolean | supportsRandomAccess()Return true if this provider supports random access. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public ListResultObjectProvider(List list)
| Method Detail | 
public List getDelegate()
public boolean supportsRandomAccess()
ResultObjectProvidersupportsRandomAccess in interface ResultObjectProvider
public void open()
          throws Exception
ResultObjectProviderResultObjectProvider.next(), ResultObjectProvider.absolute(int), or ResultObjectProvider.size().open in interface ResultObjectProvider
public Object getResultObject()
                       throws Exception
ResultObjectProviderResultObjectProvider.next() or ResultObjectProvider.absolute(int).getResultObject in interface ResultObjectProvider
public boolean next()
             throws Exception
ResultObjectProvidertrue if 
	there is more data; otherwise false.next in interface ResultObjectProvider
public boolean absolute(int pos)
                 throws Exception
ResultObjectProvidertrue if there is data at this position;
	otherwise false.  This may be invoked in place of
	ResultObjectProvider.next().absolute in interface ResultObjectProvider
public int size()
         throws Exception
ResultObjectProviderInteger.MAX_VALUE
	if the size in unknown.size in interface ResultObjectProvider
public void reset()
           throws Exception
ResultObjectProviderreset in interface ResultObjectProvider
public void close()
           throws Exception
ResultObjectProviderclose in interface ResultObjectProviderpublic void handleCheckedException(Exception e)
ResultObjectProviderhandleCheckedException in interface ResultObjectProvider| 
 | SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||