org.embl.ebi.escience.scufl.enactor.event
Class CollectionConstructionEvent

java.lang.Object
  extended by org.embl.ebi.escience.scufl.enactor.event.WorkflowInstanceEvent
      extended by org.embl.ebi.escience.scufl.enactor.event.CollectionConstructionEvent

public class CollectionConstructionEvent
extends WorkflowInstanceEvent


Constructor Summary
CollectionConstructionEvent(WorkflowInstance workflow, java.lang.String[] collectionLSID, java.lang.String originalLSID)
           
 
Method Summary
 java.lang.String[] getCollectionLSIDs()
          Get the LSIDs corresponding to the new collection structure wrapping the original item.
 java.lang.String getOriginalLSID()
          Get the LSID of the data item which has been wrapped
 java.lang.String toString()
          Pretty toString override
 
Methods inherited from class org.embl.ebi.escience.scufl.enactor.event.WorkflowInstanceEvent
getWorkflowInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionConstructionEvent

public CollectionConstructionEvent(WorkflowInstance workflow,
                                   java.lang.String[] collectionLSID,
                                   java.lang.String originalLSID)
Method Detail

getCollectionLSIDs

public java.lang.String[] getCollectionLSIDs()
Get the LSIDs corresponding to the new collection structure wrapping the original item. This returns an array of strings which will contain as many members as the wrapping was deep. So, if the input was a string and the desired output was a list of lists this value will contain two LSID strings, the first being the outermost collection LSID and the second being that of the collection within this that contains the actual wrapped value. If the wrapping were deeper there would be more items, in most cases this is likely to be only one level deep so this array will contain a single string.


getOriginalLSID

public java.lang.String getOriginalLSID()
Get the LSID of the data item which has been wrapped


toString

public java.lang.String toString()
Pretty toString override

Overrides:
toString in class java.lang.Object