Class GjEntityExpand

  • All Implemented Interfaces:
    GjEntityEntry

    public class GjEntityExpand
    extends Object
    implements GjEntityEntry
    A class for gathering data from Entities link to by a NavigationLink of an Entity into a CSV file.
    Author:
    scf
    • Constructor Detail

      • GjEntityExpand

        public GjEntityExpand​(String serviceRootUrl,
                              de.fraunhofer.iosb.ilt.frostserver.path.Version version,
                              String name,
                              de.fraunhofer.iosb.ilt.frostserver.property.NavigationProperty property,
                              de.fraunhofer.iosb.ilt.frostserver.query.Query subQuery)
    • Method Detail

      • writeData

        public void writeData​(GjRowCollector collector,
                              de.fraunhofer.iosb.ilt.frostserver.model.core.Entity<?> e,
                              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.
        e - The source entity to collect the data from.
        namePrefix - The header to use for this item.