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
-
Field Summary
Fields inherited from class repast.simphony.scenario.AbstractDescriptor
scs
-
Constructor Summary
ConstructorDescriptionDataSetDescriptor
(String name) DataSetDescriptor
(String name, DataSetDescriptor.DataSetType type) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAggregateDataSource
(String id, String className) Adds an AggregateDataSource by className.void
addAggregateMethodDataSource
(String id, String className, String methodName, AggregateOp aggType) void
addCountDataSource
(String id, String className) void
addMethodDataSource
(String id, String className, String methodName) void
addNonAggregateDataSource
(String id, String className) Adds a NonAggregateDataSource by className.void
void
void
getType()
boolean
boolean
boolean
boolean
void
void
void
void
setIncludeBatchRun
(boolean inclBatchRun) void
setIncludeRandomSeed
(boolean inclRandomSeed) void
setIncludeTick
(boolean inclTick) void
setScheduleAtEnd
(boolean val) void
setScheduleParameters
(ScheduleParameters scheduleParams) void
setSourceType
(String sourceType) void
Methods 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()
-