|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface that allows lazy/custom instantiation of input objects.
ResultList objects do not necessarily load in data all
at once. Instead, they may lazily load objects as necessary. So,
the lifespan of a ResultObjectProvider instance is
related to how the application deals with processing the
ResultList created with a given
ResultObjectProvider instance.
| Method Summary | |
boolean |
advance(Object input)
Advance the input source input to the next
position. |
void |
free(Object input)
Optionally free the resources associated with this provider. |
Object |
getResultObject(Object input)
Instantiate the desired object from the current data in input. |
boolean |
open(Object input)
Open the input source input. |
| Method Detail |
public Object getResultObject(Object input)
throws Exception
input.
public boolean open(Object input)
throws Exception
input. This is invoked
before any data is loaded from the input. Return
true if there is data in the input; otherwise
false.
public boolean advance(Object input)
throws Exception
input to the next
position. Return true if there is more data;
otherwise false. This is invoked between each
invocation of getResultObject(java.lang.Object).
public void free(Object input)
throws Exception
|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||