Class GjEntityProperty
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.format.geojson.tools.GjEntityProperty
-
- All Implemented Interfaces:
GjEntityEntry
public class GjEntityProperty extends Object implements GjEntityEntry
A class for gathering data from an Property of an Entity into a CSV file.- Author:
- scf
-
-
Constructor Summary
Constructors Constructor Description GjEntityProperty(String name, de.fraunhofer.iosb.ilt.frostserver.property.Property property)Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteData(GjRowCollector collector, de.fraunhofer.iosb.ilt.frostserver.model.core.Entity<?> source, String namePrefix)Collect data for CSV data rows.
-
-
-
Constructor Detail
-
GjEntityProperty
public GjEntityProperty(String name, de.fraunhofer.iosb.ilt.frostserver.property.Property property)
Create a new instance.- Parameters:
name- The name of the property.property- The property.
-
-
Method Detail
-
writeData
public void writeData(GjRowCollector collector, de.fraunhofer.iosb.ilt.frostserver.model.core.Entity<?> source, String namePrefix)
Description copied from interface:GjEntityEntryCollect data for CSV data rows.- Specified by:
writeDatain interfaceGjEntityEntry- Parameters:
collector- The collector to collect the data in.source- The source entity to collect the data from.namePrefix- The header to use for this item.
-
-