net.sf.taverna.t2.provenance.lineageservice
Class Dependencies
java.lang.Object
net.sf.taverna.t2.provenance.lineageservice.Dependencies
public class Dependencies
- extends java.lang.Object
- Author:
- Paolo Missier
Java bean to hold a list of
LineageQueryResultRecord
, representing one record
in the provenance DB at the finest possible level of granularity, i.e.,
a single value possibly within a collection, bound to a processor port and associated to a specific run of a specific workflow.
- See Also:
LineageQueryResultRecord
Method Summary |
void |
addLineageQueryResultRecord(java.lang.String wfNameRef,
java.lang.String pname,
java.lang.String vname,
java.lang.String wfInstance,
java.lang.String iteration,
java.lang.String collIdRef,
java.lang.String parentCollIDRef,
java.lang.String value,
java.lang.String resolvedValue,
java.lang.String type,
boolean isInput,
boolean isCollection)
adds a single record to the list of dependencies |
java.util.List<LineageQueryResultRecord> |
getRecords()
|
boolean |
isPrintResolvedValue()
|
java.util.ListIterator<LineageQueryResultRecord> |
iterator()
|
void |
setPrintResolvedValue(boolean printResolvedValue)
|
void |
setRecords(java.util.List<LineageQueryResultRecord> records)
populates the bean with an entire list of LineageQueryResultRecord elements |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COLL_TYPE
public static final java.lang.String COLL_TYPE
- See Also:
- Constant Field Values
ATOM_TYPE
public static final java.lang.String ATOM_TYPE
- See Also:
- Constant Field Values
Dependencies
public Dependencies()
iterator
public java.util.ListIterator<LineageQueryResultRecord> iterator()
addLineageQueryResultRecord
public void addLineageQueryResultRecord(java.lang.String wfNameRef,
java.lang.String pname,
java.lang.String vname,
java.lang.String wfInstance,
java.lang.String iteration,
java.lang.String collIdRef,
java.lang.String parentCollIDRef,
java.lang.String value,
java.lang.String resolvedValue,
java.lang.String type,
boolean isInput,
boolean isCollection)
- adds a single record to the list of dependencies
- Parameters:
wfNameRef
- pname
- vname
- wfInstance
- iteration
- collIdRef
- parentCollIDRef
- value
- resolvedValue
- type
- isInput
- isCollection
-
setRecords
public void setRecords(java.util.List<LineageQueryResultRecord> records)
- populates the bean with an entire list of
LineageQueryResultRecord
elements
- Parameters:
records
-
getRecords
public java.util.List<LineageQueryResultRecord> getRecords()
- Returns:
- the entire set of records
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isPrintResolvedValue
public boolean isPrintResolvedValue()
- Returns:
- true is the records contain the actual values, in addition to the URI references to the values
NOT YET SUPPORTED. This switch is currently ignored and no values are returned in the current version
setPrintResolvedValue
public void setPrintResolvedValue(boolean printResolvedValue)
- Parameters:
toggles
- insertion of values in addition to references to values in the records
NOT YET SUPPORTED. This switch is currently ignored and no values are returned in the current version