org.gcube.datatransformation.datatransformationlibrary.reports
Class Report

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.reports.Report

public class Report
extends Object

Author:
Dimitris Katris, NKUA

Report is the class responsible to maintain all the Records for one transformationUnit.


Field Summary
protected  HashMap<String,Record> records
           
protected  String reportID
           
 
Constructor Summary
Report()
          Initializes a new Report.
 
Method Summary
protected  void close()
           
protected  void commitRecord(Record record)
           
 Record getRecord(String objectID)
          Returns the Record of the given DataElement ID.
 String getReportEndpoint()
          Returns the endpoint of the ResultSet which contains the Report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

records

protected HashMap<String,Record> records

reportID

protected String reportID
Constructor Detail

Report

public Report()
       throws Exception
Initializes a new Report.

Throws:
Exception - If the RSXMLWriter in which the Report will be written could not be created.
Method Detail

getReportEndpoint

public String getReportEndpoint()
                         throws Exception
Returns the endpoint of the ResultSet which contains the Report.

Returns:
The endpoint of the ResultSet which contains the Report.
Throws:
Exception - If the RSLocator of the ResultSet could not be retrieved.

getRecord

public Record getRecord(String objectID)
Returns the Record of the given DataElement ID.

Parameters:
objectID - The DataElement ID.
Returns:
The Record.

commitRecord

protected void commitRecord(Record record)

close

protected void close()


Copyright © 2013. All Rights Reserved.