Class DataSetDescriptor

java.lang.Object
repast.simphony.scenario.AbstractDescriptor
repast.simphony.data2.engine.DataSetDescriptor
All Implemented Interfaces:
Descriptor

public class DataSetDescriptor extends AbstractDescriptor
Descriptor that defines a single DataSet.
Author:
Nick Collier
  • Constructor Details

  • Method Details

    • dataSourceIds

      public Iterable<String> dataSourceIds()
    • getScheduleParameters

      public ScheduleParameters getScheduleParameters()
      Returns:
      the scheduleParams
    • addNonAggregateDataSource

      public void addNonAggregateDataSource(String id, String className)
      Adds a NonAggregateDataSource by className. The specified class must implement NonAggregateDataSource.
      Parameters:
      className -
    • addAggregateDataSource

      public void addAggregateDataSource(String id, String className)
      Adds an AggregateDataSource by className. The specified class must implementAggregateDataSource.
      Parameters:
      className -
    • removeCustomDataSource

      public void removeCustomDataSource(String id)
    • customAggDataSources

      public Iterable<CustomDataSourceDefinition> customAggDataSources()
    • customNonAggDataSources

      public Iterable<CustomDataSourceDefinition> customNonAggDataSources()
    • setScheduleParameters

      public void setScheduleParameters(ScheduleParameters scheduleParams)
      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

      public String getSourceType()
      Returns:
      the targetType
    • setSourceType

      public void setSourceType(String sourceType)
    • getType

      Returns:
      the type
    • setType

      public void setType(DataSetDescriptor.DataSetType type)
      Parameters:
      type - the type to set
    • isScheduleAtEnd

      public boolean isScheduleAtEnd()
    • setScheduleAtEnd

      public void setScheduleAtEnd(boolean val)
    • addMethodDataSource

      public void addMethodDataSource(String id, String className, String methodName)
    • addAggregateMethodDataSource

      public void addAggregateMethodDataSource(String id, String className, String methodName, AggregateOp aggType)
    • addCountDataSource

      public void addCountDataSource(String id, String className)
    • countDataSources

      public Iterable<CountSourceDefinition> countDataSources()
    • removeMethodDataSource

      public void removeMethodDataSource(String id)
    • removeCountDataSource

      public void removeCountDataSource(String id)
    • methodDataSources

      public Iterable<MethodDataSourceDefinition> methodDataSources()
    • clearCountDataSources

      public void clearCountDataSources()
    • clearMethodDataSources

      public void clearMethodDataSources()
    • clearCustomDataSources

      public void clearCustomDataSources()