Class CsvSystemParticipantSource

java.lang.Object
edu.ie3.datamodel.io.source.csv.CsvDataSource
edu.ie3.datamodel.io.source.csv.CsvSystemParticipantSource
All Implemented Interfaces:
DataSource, SystemParticipantSource

public class CsvSystemParticipantSource extends CsvDataSource implements SystemParticipantSource
Source that provides the capability to build entities of type SystemParticipantInput as well as SystemParticipants container from .csv files.

This source is not buffered which means each call on a getter method always tries to read all data is necessary to return the requested objects in a hierarchical cascading way.

If performance is an issue, it is recommended to read the data cascading starting with reading nodes and then using the getters with arguments to avoid reading the same data multiple times.

The resulting sets are always unique on object and UUID base (with distinct UUIDs).

Since:
03.04.20