Class CsvEntityExpand
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.format.csv.tools.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 Summary
Constructors Constructor Description CsvEntityExpand(String namePrefix, de.fraunhofer.iosb.ilt.frostserver.property.NavigationProperty property, de.fraunhofer.iosb.ilt.frostserver.query.Query subQuery, NavigationPropertyFollower propertyFollower)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteData(CsvRowCollector collector, de.fraunhofer.iosb.ilt.frostserver.model.core.Entity e)Collect data for CSV data rows.voidwriteHeader(CsvRowCollector collector)Collect data for the CSV header row.
-
-
-
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:CsvEntityEntryCollect data for the CSV header row.- Specified by:
writeHeaderin interfaceCsvEntityEntry- 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:CsvEntityEntryCollect data for CSV data rows.- Specified by:
writeDatain interfaceCsvEntityEntry- Parameters:
collector- The collector to collect the data in.e- The source entity to collect the data from.
-
-