net.sf.taverna.t2.provenance.opm
Class OPMImporter

java.lang.Object
  extended by net.sf.taverna.t2.provenance.opm.OPMImporter

public class OPMImporter
extends java.lang.Object

Author:
paolo imports foreign XML-serialized OPM graphs into the native Taverna provenance DB, so they can be queried using ProvenanceAnalysis

Constructor Summary
OPMImporter(ProvenanceWriter pw)
           
 
Method Summary
 java.util.List<java.lang.String> getOrphanArtifacts()
          orphan artifacts are those that are in the graph but are never used neither generated.
 void importGraph(java.lang.String XMLOPMGraphFilename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OPMImporter

public OPMImporter(ProvenanceWriter pw)
Method Detail

getOrphanArtifacts

public java.util.List<java.lang.String> getOrphanArtifacts()
orphan artifacts are those that are in the graph but are never used neither generated. this indicates some problem with the graph structure. this method is used for diagnostics after import has finished

Returns:

importGraph

public void importGraph(java.lang.String XMLOPMGraphFilename)
                 throws javax.xml.bind.JAXBException,
                        java.sql.SQLException
Throws:
javax.xml.bind.JAXBException
java.sql.SQLException