Package repast.simphony.data2
Interface DataSource
- All Known Subinterfaces:
AggregateDataSource
,NonAggregateDataSource
- All Known Implementing Classes:
AggregateDataSourceWrapper
,BatchRunDataSource
,CountDataSource
,MethodDataSource
,NonAggregateDataSourceWrapper
,ParameterDataSource
,RandomSeedDataSource
,TickCountDataSource
public interface DataSource
Interface for classes that can function as the source of data to be logged or
charted.
- Author:
- Nick Collier
-
Method Details
-
getId
String getId()Gets the unique id of this DataSource. The id should be unique across the DataSet that this source is added to.- Returns:
- the unique id of this DataSource.
-
getDataType
Class<?> getDataType()Gets the type of data produced by this DataSource.- Returns:
- the type of data produced by this DataSource.
-
getSourceType
Class<?> getSourceType()Gets the type of the object that this DataSource can retreive data from.- Returns:
- the type of the object that this DataSource can retreive data from.
-