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 Details

    • 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 Details

    • writeData

      public void writeData(GjRowCollector collector, de.fraunhofer.iosb.ilt.frostserver.model.core.Entity source, String namePrefix)
      Description copied from interface: GjEntityEntry
      Collect data for CSV data rows.
      Specified by:
      writeData in interface GjEntityEntry
      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.