Package repast.simphony.data2.engine
Class AbstractTextSinkDescriptor
java.lang.Object
repast.simphony.scenario.AbstractDescriptor
repast.simphony.data2.engine.AbstractTextSinkDescriptor
- All Implemented Interfaces:
Descriptor
- Direct Known Subclasses:
ConsoleSinkDescriptor
,FileSinkDescriptor
Abstract base class for descriptors that define text output sink.
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.scenario.AbstractDescriptor
scs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSourceId
(String sourceId) void
Gets a list of the source ids this sink will record.void
removeSourceId
(String sourceId) void
setDataSet
(String dataSet) void
setDelimiter
(String delimiter) void
setFormat
(FormatType format) Methods inherited from class repast.simphony.scenario.AbstractDescriptor
addScenarioChangedListener, getName, readResolve, setName
-
Field Details
-
dataSet
-
delimiter
-
format
-
sourceIds
-
-
Constructor Details
-
AbstractTextSinkDescriptor
-
-
Method Details
-
getDataSet
- Returns:
- the dataSet
-
setDataSet
- Parameters:
dataSet
- the dataSet to set
-
getDelimiter
- Returns:
- the delimiter
-
setDelimiter
- Parameters:
delimiter
- the delimiter to set
-
getFormat
- Returns:
- the format
-
setFormat
- Parameters:
format
- the format to set
-
removeSourceId
-
addSourceId
-
clearSourceIds
public void clearSourceIds() -
getSourceIds
Gets a list of the source ids this sink will record.- Returns:
- a list of the source ids this sink will record.
-