pojos
Class WorkflowData

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

public class WorkflowData
extends DataObject

The data that makes up an OME worflow object.

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()
          Creates a new instance.
WorkflowData(omero.model.Namespace workflow)
          Creates a new instance.
WorkflowData(String nameSpace, List<String> keywords)
          Creates a new instance.
WorkflowData(String nameSpace, String keywords)
          Creates a new instance.
 
Method Summary
 void addKeyword(String keyword)
          Adds a new keyword to the workflow.
 boolean contains(String value)
          Returns true if the keyword exist in the workflow, false otherwise.
 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)
          Sets the keywords of the workflow.
 void setKeywords(String keywords)
          Sets the keywords of the workflow.
 void setNamespace(String namespace)
          Sets 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.Namespace workflow)
Creates a new instance.

Parameters:
workflow - The workflow object.

WorkflowData

public WorkflowData(String nameSpace,
                    List<String> keywords)
Creates a new instance.

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

WorkflowData

public WorkflowData(String nameSpace,
                    String keywords)
Creates a new instance.

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

WorkflowData

public WorkflowData()
Creates a new instance.

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)
Sets the keywords of the workflow.

Parameters:
keywords - See above.

setKeywords

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

Parameters:
keywords - See above.

contains

public boolean contains(String value)
Returns true if the keyword exist in the workflow, false otherwise.

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

setNamespace

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

Parameters:
namespace - See above.


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

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