org.openlca.dataconversion
Class ConversionData

java.lang.Object
  extended by org.openlca.dataconversion.ConversionData

public class ConversionData
extends java.lang.Object

Return object of a conversion process. Provides information on the transformation process and created documents.

Version:
1.0
Author:
Michael Srocka, GreenDeltaTC, for the openLCA project (www.openlca.org)

Constructor Summary
ConversionData()
          Creates a new instance of ConversionData.
 
Method Summary
 java.util.List<LCADocument> getCreatedDocuments()
          Returns a list of created documents.
 java.util.List<java.io.File> getMetaDocuments()
          Returns a list of created meta documents.
 LCADocument getSourceDocument()
          Returns the source document of the conversion.
 java.util.List<java.lang.String> getTransformerMessages()
          Returns the messages collected in the LCADocumentTransformer.
 void setSourceDocument(LCADocument sourceDocument)
          Sets the source document of the conversion.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversionData

public ConversionData()
Creates a new instance of ConversionData.

Method Detail

getSourceDocument

public LCADocument getSourceDocument()
Returns the source document of the conversion.

Returns:
Possible object is LCADocument.

setSourceDocument

public void setSourceDocument(LCADocument sourceDocument)
Sets the source document of the conversion.

Parameters:
sourceDocument - Allowed object is LCADocument.

getMetaDocuments

public java.util.List<java.io.File> getMetaDocuments()
Returns a list of created meta documents.

Returns:
List of File.

getTransformerMessages

public java.util.List<java.lang.String> getTransformerMessages()
Returns the messages collected in the LCADocumentTransformer.

Returns:
List of String.

getCreatedDocuments

public java.util.List<LCADocument> getCreatedDocuments()
Returns a list of created documents.

Returns:
List of LCADocument.