Class 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 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: 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.