Package repast.simphony.data2.engine
Class DataSetDescriptor
java.lang.Object
repast.simphony.scenario.AbstractDescriptor
repast.simphony.data2.engine.DataSetDescriptor
- All Implemented Interfaces:
Descriptor
Descriptor that defines a single DataSet.
- Author:
- Nick Collier
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class repast.simphony.scenario.AbstractDescriptor
scs -
Constructor Summary
ConstructorsConstructorDescriptionDataSetDescriptor(String name) DataSetDescriptor(String name, DataSetDescriptor.DataSetType type) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAggregateDataSource(String id, String className) Adds an AggregateDataSource by className.voidaddAggregateMethodDataSource(String id, String className, String methodName, AggregateOp aggType) voidaddCountDataSource(String id, String className) voidaddMethodDataSource(String id, String className, String methodName) voidaddNonAggregateDataSource(String id, String className) Adds a NonAggregateDataSource by className.voidvoidvoidgetType()booleanbooleanbooleanbooleanvoidvoidvoidvoidsetIncludeBatchRun(boolean inclBatchRun) voidsetIncludeRandomSeed(boolean inclRandomSeed) voidsetIncludeTick(boolean inclTick) voidsetScheduleAtEnd(boolean val) voidsetScheduleParameters(ScheduleParameters scheduleParams) voidsetSourceType(String sourceType) voidMethods inherited from class repast.simphony.scenario.AbstractDescriptor
addScenarioChangedListener, getName, readResolve, setName
-
Constructor Details
-
DataSetDescriptor
-
DataSetDescriptor
-
-
Method Details
-
dataSourceIds
-
getScheduleParameters
- Returns:
- the scheduleParams
-
addNonAggregateDataSource
Adds a NonAggregateDataSource by className. The specified class must implement NonAggregateDataSource.- Parameters:
className-
-
addAggregateDataSource
Adds an AggregateDataSource by className. The specified class must implementAggregateDataSource.- Parameters:
className-
-
removeCustomDataSource
-
customAggDataSources
-
customNonAggDataSources
-
setScheduleParameters
- Parameters:
scheduleParams- the scheduleParams to set
-
includeTick
public boolean includeTick()- Returns:
- the inclTick
-
setIncludeTick
public void setIncludeTick(boolean inclTick) - Parameters:
inclTick- the inclTick to set
-
includeBatchRun
public boolean includeBatchRun()- Returns:
- the inclBatchRun
-
setIncludeBatchRun
public void setIncludeBatchRun(boolean inclBatchRun) - Parameters:
inclBatchRun- the inclBatchRun to set
-
includeRandomSeed
public boolean includeRandomSeed()- Returns:
- the inclRandomSeed
-
setIncludeRandomSeed
public void setIncludeRandomSeed(boolean inclRandomSeed) - Parameters:
inclRandomSeed- the inclRandomSeed to set
-
getSourceType
- Returns:
- the targetType
-
setSourceType
-
getType
- Returns:
- the type
-
setType
- Parameters:
type- the type to set
-
isScheduleAtEnd
public boolean isScheduleAtEnd() -
setScheduleAtEnd
public void setScheduleAtEnd(boolean val) -
addMethodDataSource
-
addAggregateMethodDataSource
public void addAggregateMethodDataSource(String id, String className, String methodName, AggregateOp aggType) -
addCountDataSource
-
countDataSources
-
removeMethodDataSource
-
removeCountDataSource
-
methodDataSources
-
clearCountDataSources
public void clearCountDataSources() -
clearMethodDataSources
public void clearMethodDataSources() -
clearCustomDataSources
public void clearCustomDataSources()
-