org.embl.ebi.escience.scuflui.results
Class ResultThing

java.lang.Object
  extended by org.embl.ebi.escience.scuflui.results.ResultThing

public class ResultThing
extends java.lang.Object

A result from a workflow. Wraps a DataThing object to keep track of provenance information link the source of the result, and the results that created or were created by this one.

Author:
Kevin Glover

Constructor Summary
ResultThing(ResultSource source, DataThing thing, java.lang.String[] inputLSIDs)
           
 
Method Summary
 DataThing getDataThing()
           
 java.lang.String getLSID()
           
 ResultSource getSource()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultThing

public ResultThing(ResultSource source,
                   DataThing thing,
                   java.lang.String[] inputLSIDs)
Parameters:
source - the ResultSource that this result came from
thing - the underlying DataThing that is the result
inputLSIDs - a array of LSIDs that created this result
Method Detail

getDataThing

public DataThing getDataThing()
Returns:
the underlying DataThing that is the result
See Also:
DataThing

getLSID

public java.lang.String getLSID()
Returns:
the LSID of this result

toString

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

getSource

public ResultSource getSource()
Returns:
the ResultSource that this result came from
See Also:
ResultSource