Class AbstractTextSinkDescriptor

java.lang.Object
repast.simphony.scenario.AbstractDescriptor
repast.simphony.data2.engine.AbstractTextSinkDescriptor
All Implemented Interfaces:
Descriptor
Direct Known Subclasses:
ConsoleSinkDescriptor, FileSinkDescriptor

public abstract class AbstractTextSinkDescriptor extends AbstractDescriptor
Abstract base class for descriptors that define text output sink.
Author:
Nick Collier
  • Field Details

    • dataSet

      protected String dataSet
    • delimiter

      protected String delimiter
    • format

      protected FormatType format
    • sourceIds

      protected Set<String> sourceIds
  • Constructor Details

    • AbstractTextSinkDescriptor

      public AbstractTextSinkDescriptor(String name)
  • Method Details

    • getDataSet

      public String getDataSet()
      Returns:
      the dataSet
    • setDataSet

      public void setDataSet(String dataSet)
      Parameters:
      dataSet - the dataSet to set
    • getDelimiter

      public String getDelimiter()
      Returns:
      the delimiter
    • setDelimiter

      public void setDelimiter(String delimiter)
      Parameters:
      delimiter - the delimiter to set
    • getFormat

      public FormatType getFormat()
      Returns:
      the format
    • setFormat

      public void setFormat(FormatType format)
      Parameters:
      format - the format to set
    • removeSourceId

      public void removeSourceId(String sourceId)
    • addSourceId

      public void addSourceId(String sourceId)
    • clearSourceIds

      public void clearSourceIds()
    • getSourceIds

      public List<String> getSourceIds()
      Gets a list of the source ids this sink will record.
      Returns:
      a list of the source ids this sink will record.