pojos
Class WorkflowData

java.lang.Object
  extended by pojos.DataObject
      extended by pojos.WorkflowData

public class WorkflowData
extends DataObject

Since:
3.0-Beta4
Version:
3.0 (Internal version: $Revision: $Date: $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk, Donald MacDonald      donald@lifesci.dundee.ac.uk

Field Summary
static String DEFAULTWORKFLOW
          The default workflow, i.e. nothing .
 
Constructor Summary
WorkflowData()
          Instantiate the class.
WorkflowData(omero.model.NamespaceI workflow)
          Instantiate the class.
WorkflowData(String nameSpace, List<String> keywords)
          Instantiate the class.
WorkflowData(String nameSpace, String keywords)
          Instantiate the class.
 
Method Summary
 void addKeyword(String keyword)
          Adds a new keyword to the workflow.
 boolean contains(String value)
          Does the keyword exist in the workflow.
 String getKeywords()
          Returns the keywords of this workflow.
 List<String> getKeywordsAsList()
          Returns the keywords of this workflow as a list.
 String getNameSpace()
          Returns the namespace of this workflow.
 void setKeywords(List<String> keywords)
          Set the keywords of the workflow.
 void setKeywords(String keywords)
          Set the keywords of the workflow.
 void setNamespace(String namespace)
          Set the namespace of the workflow.
 
Methods inherited from class pojos.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULTWORKFLOW

public static String DEFAULTWORKFLOW
The default workflow, i.e. nothing .

Constructor Detail

WorkflowData

public WorkflowData(omero.model.NamespaceI workflow)
Instantiate the class.

Parameters:
workflow - The workflow object.

WorkflowData

public WorkflowData(String nameSpace,
                    List<String> keywords)
Instantiate the class.

Parameters:
nameSpace - The namespace of the workflow.
keywords - The keywords of the workflow.

WorkflowData

public WorkflowData(String nameSpace,
                    String keywords)
Instantiate the class.

Parameters:
nameSpace - The namespace of the workflow.
keywords - The keywords of the workflow.

WorkflowData

public WorkflowData()
Instantiate the class.

Method Detail

getNameSpace

public String getNameSpace()
Returns the namespace of this workflow.

Returns:
See above.

getKeywords

public String getKeywords()
Returns the keywords of this workflow.

Returns:
See above.

getKeywordsAsList

public List<String> getKeywordsAsList()
Returns the keywords of this workflow as a list.

Returns:
See above.

addKeyword

public void addKeyword(String keyword)
Adds a new keyword to the workflow.

Parameters:
keyword - See above.

setKeywords

public void setKeywords(String keywords)
Set the keywords of the workflow.

Parameters:
keywords - See above.

setKeywords

public void setKeywords(List<String> keywords)
Set the keywords of the workflow.

Parameters:
keywords - See above.

contains

public boolean contains(String value)
Does the keyword exist in the workflow.

Parameters:
value - keyword to test for existence.
Returns:
See above.

setNamespace

public void setNamespace(String namespace)
Set the namespace of the workflow.

Parameters:
namespace - See above.


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.