net.sf.taverna.t2.provenance.lineageservice.rdf
Class StandAloneRDFProvenanceWriter
java.lang.Object
net.sf.taverna.t2.provenance.lineageservice.rdf.StandAloneRDFProvenanceWriter
public class StandAloneRDFProvenanceWriter
- extends java.lang.Object
- Author:
- paolo
Method Summary |
void |
addArc(java.lang.String sourceVarName,
java.lang.String sourceProcName,
java.lang.String sinkVarName,
java.lang.String sinkProcName,
java.lang.String wfId)
|
void |
addArc(Var sourceVar,
Var sinkVar,
java.lang.String wfId)
|
void |
addCollection(java.lang.String collId)
is this incomplete?? there is no tracking of parent collections...?? |
void |
addProcessor(java.lang.String pName,
java.lang.String type,
java.lang.String wfNameRef,
boolean isTopLevel)
|
void |
addProcessorBinding(ProcBinding pb)
|
void |
addVar(Var v)
|
void |
addVarBinding(VarBinding vb,
java.lang.Object value)
also fetches data values from the Data table of the relational provenance DB and adds it as a rdfs:comment to the RDF graph |
void |
addVariables(java.util.List<Var> vars)
|
void |
addWFId(java.lang.String wfId,
java.lang.String parentWFname,
java.lang.String externalName,
java.sql.Blob dataflow)
|
void |
addWFInstanceId(java.lang.String wfId,
java.lang.String wfInstanceId)
|
void |
closeCurrentModel()
|
void |
dumpCurrentModel(java.lang.String fileName)
|
com.hp.hpl.jena.rdf.model.Model |
getModel()
|
ProvenanceQuery |
getQuery()
|
void |
setModel(com.hp.hpl.jena.rdf.model.Model m)
|
void |
setQuery(ProvenanceQuery query)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandAloneRDFProvenanceWriter
public StandAloneRDFProvenanceWriter(ProvenanceQuery pq)
closeCurrentModel
public void closeCurrentModel()
dumpCurrentModel
public void dumpCurrentModel(java.lang.String fileName)
addWFId
public void addWFId(java.lang.String wfId,
java.lang.String parentWFname,
java.lang.String externalName,
java.sql.Blob dataflow)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addProcessor
public void addProcessor(java.lang.String pName,
java.lang.String type,
java.lang.String wfNameRef,
boolean isTopLevel)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addVar
public void addVar(Var v)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addVariables
public void addVariables(java.util.List<Var> vars)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addArc
public void addArc(Var sourceVar,
Var sinkVar,
java.lang.String wfId)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addArc
public void addArc(java.lang.String sourceVarName,
java.lang.String sourceProcName,
java.lang.String sinkVarName,
java.lang.String sinkProcName,
java.lang.String wfId)
addWFInstanceId
public void addWFInstanceId(java.lang.String wfId,
java.lang.String wfInstanceId)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addProcessorBinding
public void addProcessorBinding(ProcBinding pb)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addCollection
public void addCollection(java.lang.String collId)
throws java.sql.SQLException
- is this incomplete?? there is no tracking of parent collections...??
- Parameters:
processorId
- collId
- parentCollectionId
-
- Throws:
java.sql.SQLException
addVarBinding
public void addVarBinding(VarBinding vb,
java.lang.Object value)
throws java.sql.SQLException
- also fetches data values from the Data table of the relational provenance DB and adds it as a rdfs:comment to the RDF graph
- Parameters:
value
-
- Throws:
java.sql.SQLException
getModel
public com.hp.hpl.jena.rdf.model.Model getModel()
- Returns:
- the m
setModel
public void setModel(com.hp.hpl.jena.rdf.model.Model m)
- Parameters:
m
- the m to set
setQuery
public void setQuery(ProvenanceQuery query)
getQuery
public ProvenanceQuery getQuery()