Package repast.simphony.data2.engine
Class NonAggregateDataSourceWrapper
java.lang.Object
repast.simphony.data2.engine.NonAggregateDataSourceWrapper
- All Implemented Interfaces:
DataSource,NonAggregateDataSource
An NonAggregateDataSource implementation that delegates to
a wrapped AggregateDataSource for all calls except getting
the id.
- Author:
- Nick Collier
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NonAggregateDataSourceWrapper
-
-
Method Details
-
getId
Description copied from interface:DataSourceGets the unique id of this DataSource. The id should be unique across the DataSet that this source is added to.- Specified by:
getIdin interfaceDataSource- Returns:
- the unique id of this DataSource.
-
getDataType
Description copied from interface:DataSourceGets the type of data produced by this DataSource.- Specified by:
getDataTypein interfaceDataSource- Returns:
- the type of data produced by this DataSource.
-
getSourceType
Description copied from interface:DataSourceGets the type of the object that this DataSource can retreive data from.- Specified by:
getSourceTypein interfaceDataSource- Returns:
- the type of the object that this DataSource can retreive data from.
-
get
Description copied from interface:NonAggregateDataSourceGets data given the specified object.- Specified by:
getin interfaceNonAggregateDataSource- Parameters:
obj- an object to get the data from- Returns:
- the retrieved data.
-