Class CsvEntityExpand

  • All Implemented Interfaces:
    CsvEntityEntry

    public class CsvEntityExpand
    extends Object
    implements CsvEntityEntry
    A class for gathering data from Entities link to by a NavigationLink of an Entity into a CSV file.
    Author:
    scf
    • Constructor Detail

      • CsvEntityExpand

        public CsvEntityExpand​(String namePrefix,
                               de.fraunhofer.iosb.ilt.frostserver.property.NavigationProperty property,
                               de.fraunhofer.iosb.ilt.frostserver.query.Query subQuery,
                               NavigationPropertyFollower propertyFollower)
    • Method Detail

      • writeHeader

        public void writeHeader​(CsvRowCollector collector)
        Description copied from interface: CsvEntityEntry
        Collect data for the CSV header row.
        Specified by:
        writeHeader in interface CsvEntityEntry
        Parameters:
        collector - The collector to collect the data in.
      • writeData

        public void writeData​(CsvRowCollector collector,
                              de.fraunhofer.iosb.ilt.frostserver.model.core.Entity e)
        Description copied from interface: CsvEntityEntry
        Collect data for CSV data rows.
        Specified by:
        writeData in interface CsvEntityEntry
        Parameters:
        collector - The collector to collect the data in.
        e - The source entity to collect the data from.