org.gcube.datatransformation.datatransformationlibrary.reports
Class Report
java.lang.Object
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.
|
Constructor Summary |
Report()
Initializes a new Report. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
records
protected HashMap<String,Record> records
reportID
protected String reportID
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.
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.