net.sf.taverna.t2.provenance.lineageservice
Class LineageQueryResultRecord

java.lang.Object
  extended by net.sf.taverna.t2.provenance.lineageservice.LineageQueryResultRecord

public class LineageQueryResultRecord
extends java.lang.Object

Author:
Paolo Missier

This Java bean holds a single provenance record, i.e., the finest element of a provenance graph that is stored in the provenance DB. Essentially this represents one data element (value) flowing through a port (vname) of a processor (pname), in the context of one run (wfInstance) of a workflow (wfname). The record may include an iteration vector, used when the same processor receives multiple values on the same port, as part of iterative processing. When the value belongs to a collection (a nested list), the collIdRef field contains a reference to that collection.


Constructor Summary
LineageQueryResultRecord()
           
 
Method Summary
 java.lang.String getCollIdRef()
           
 java.lang.String getIteration()
           
 java.lang.String getParentCollIDRef()
           
 java.lang.String getPname()
           
 java.lang.String getResolvedValue()
           
 java.lang.String getType()
           
 java.lang.String getValue()
           
 java.lang.String getVname()
           
 java.lang.String getWfInstance()
           
 java.lang.String getWfName()
           
 boolean isCollection()
           
 boolean isInput()
           
 void setCollection(boolean isCollection)
           
 void setCollIdRef(java.lang.String collIdRef)
           
 void setInput(boolean isInput)
           
 void setIteration(java.lang.String iteration)
           
 void setParentCollIDRef(java.lang.String parentCollIDRef)
           
 void setPname(java.lang.String pname)
           
 void setPrintResolvedValue(boolean b)
           
 void setResolvedValue(java.lang.String resolvedValue)
           
 void setType(java.lang.String type)
           
 void setValue(java.lang.String value)
           
 void setVname(java.lang.String vname)
           
 void setWfInstance(java.lang.String wfInstance)
           
 void setWfName(java.lang.String wfName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineageQueryResultRecord

public LineageQueryResultRecord()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getPname

public java.lang.String getPname()
Returns:
the pname

setPname

public void setPname(java.lang.String pname)
Parameters:
pname - the pname to set

getVname

public java.lang.String getVname()
Returns:
the vname

setVname

public void setVname(java.lang.String vname)
Parameters:
vname - the vname to set

getWfInstance

public java.lang.String getWfInstance()
Returns:
the wfInstance

setWfInstance

public void setWfInstance(java.lang.String wfInstance)
Parameters:
wfInstance - the wfInstance to set

getValue

public java.lang.String getValue()
Returns:
the value

setValue

public void setValue(java.lang.String value)
Parameters:
value - the value to set

getType

public java.lang.String getType()
Returns:
the type

setType

public void setType(java.lang.String type)
Parameters:
type - the type to set

getIteration

public java.lang.String getIteration()
Returns:
the iteration

setIteration

public void setIteration(java.lang.String iteration)
Parameters:
iteration - the iteration to set

getResolvedValue

public java.lang.String getResolvedValue()
Returns:
the resolvedValue

setResolvedValue

public void setResolvedValue(java.lang.String resolvedValue)
Parameters:
resolvedValue - the resolvedValue to set

setPrintResolvedValue

public void setPrintResolvedValue(boolean b)

isInput

public boolean isInput()
Returns:
the isInput

setInput

public void setInput(boolean isInput)
Parameters:
isInput - the isInput to set

getCollIdRef

public java.lang.String getCollIdRef()
Returns:
the collIdRef

setCollIdRef

public void setCollIdRef(java.lang.String collIdRef)
Parameters:
collIdRef - the collIdRef to set

isCollection

public boolean isCollection()
Returns:
the isCollection

setCollection

public void setCollection(boolean isCollection)
Parameters:
isCollection - the isCollection to set

getParentCollIDRef

public java.lang.String getParentCollIDRef()
Returns:
the parentCollIDRef

setParentCollIDRef

public void setParentCollIDRef(java.lang.String parentCollIDRef)
Parameters:
parentCollIDRef - the parentCollIDRef to set

getWfName

public java.lang.String getWfName()
Returns:
the wfName

setWfName

public void setWfName(java.lang.String wfName)
Parameters:
wfName - the wfName to set