|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrepast.simphony.data2.BatchRunDataSource
public class BatchRunDataSource
DataSource that returns the current batch run number.
| Field Summary | |
|---|---|
static String |
ID
|
| Constructor Summary | |
|---|---|
BatchRunDataSource()
|
|
| Method Summary | |
|---|---|
Object |
get(Iterable<?> objs,
int size)
Gets the data using the specified iterable. |
Object |
get(Object obj)
Gets data given the specified object. |
Class<Integer> |
getDataType()
Gets the type of data produced by this DataSource. |
String |
getId()
Gets the unique id of this DataSource. |
Class<?> |
getSourceType()
Gets the type of the object that this DataSource can retreive data from. |
void |
reset()
Resets this AggregateDataSource prior to the next get call. |
void |
resetBatchRun(int batchRun)
Resets the batch run number to the specified batch run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ID
| Constructor Detail |
|---|
public BatchRunDataSource()
| Method Detail |
|---|
public void resetBatchRun(int batchRun)
batchRun - public String getId()
DataSource
getId in interface DataSourcepublic Class<Integer> getDataType()
DataSource
getDataType in interface DataSourcepublic Object get(Object obj)
NonAggregateDataSource
get in interface NonAggregateDataSourceobj - an object to get the data from
public Object get(Iterable<?> objs,
int size)
AggregateDataSource
get in interface AggregateDataSourceobjs - the iterable over objects to use in getting the datasize - the number of objects in the iterable
public Class<?> getSourceType()
DataSource
getSourceType in interface DataSourcepublic void reset()
AggregateDataSource
reset in interface AggregateDataSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||