org.keridwen.modelling.monitoring.dto
Class ExporterDTO

java.lang.Object
  extended by org.keridwen.modelling.monitoring.dto.ExporterDTO

public class ExporterDTO
extends Object

This class stores objects used to export values stores in a MonitoringNode.

Author:
benjamin Jeanty-Ruard - Artenum

Constructor Summary
ExporterDTO(MonitoringNode monitoringNode, String exportFilePath, MonitoringNodeExport monitoringNodeExport, boolean clearDataFieldsMemory)
          Constructor of ExporterDTO.
 
Method Summary
 boolean getClearDataFieldsMemory()
           
 String getExportFile()
           
 MonitoringNode getMonitoringNode()
           
 MonitoringNodeExport getMonitoringNodeExport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExporterDTO

public ExporterDTO(MonitoringNode monitoringNode,
                   String exportFilePath,
                   MonitoringNodeExport monitoringNodeExport,
                   boolean clearDataFieldsMemory)
Constructor of ExporterDTO.

Parameters:
monitoringNode - is the MonitoringNode which must be exported.
exportFilePath - the path of the file which must contains the export.
monitoringNodeExport - the MonitoringNodeExport used to export MonitoringNode.
clearDataFieldsMemory - boolean which indicates if the data field contained in the MonitoringNode must be cleared after the export or not. It must be used when there is an export all, because all data fields must not be stored in memory.
Method Detail

getMonitoringNode

public MonitoringNode getMonitoringNode()
Returns:
the MonitoringNode which must be exported.

getExportFile

public String getExportFile()
Returns:
the path of the file which must contains the export.

getMonitoringNodeExport

public MonitoringNodeExport getMonitoringNodeExport()
Returns:
the MonitoringNodeExport used to export MonitoringNode.

getClearDataFieldsMemory

public boolean getClearDataFieldsMemory()
Returns:
boolean which indicates if the data field contained in the MonitoringNode must be cleared after the export or not. It must be used when there is an export all, because all data fields must not be stored in memory.


Copyright © 2012-2013 Artenum. All Rights Reserved.