Class GjEntityProperty
java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.plugin.format.geojson.tools.GjEntityProperty
- All Implemented Interfaces:
GjEntityEntry
A class for gathering data from an Property of an Entity into a CSV file.
- Author:
- scf
-
Constructor Summary
ConstructorsConstructorDescriptionGjEntityProperty(String name, de.fraunhofer.iosb.ilt.frostserver.property.Property property) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteData(GjRowCollector collector, de.fraunhofer.iosb.ilt.frostserver.model.core.Entity source, String namePrefix) Collect data for CSV data rows.
-
Constructor Details
-
GjEntityProperty
Create a new instance.- Parameters:
name- The name of the property.property- The property.
-
-
Method Details
-
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.
-