org.embl.ebi.escience.scufl
Class WorkflowDescription

java.lang.Object
  extended by org.embl.ebi.escience.scufl.WorkflowDescription

public class WorkflowDescription
extends java.lang.Object

A container class for the metadata about a workflow definition, including LSID if available, description and author information

Author:
Tom Oinn

Field Summary
static java.lang.String DEFAULT_TITLE
           
 
Constructor Summary
WorkflowDescription()
          Override the default constructor to set an LSID by default from the assigning service if one has been defined in the global configuration
 
Method Summary
static WorkflowDescription build(org.jdom.Element theElement)
          Construct a new WorkflowDescription object from a JDom Element
 java.lang.String getAuthor()
          Get the author string for this workflow, at the moment this is just treated as a single string, we may move to the myGrid information model person type at some point
static org.jdom.Element getElement(WorkflowDescription theDescription)
          Get the XML element corresponding to the referenced WorkflowDescription object
 java.lang.String getLSID()
          Get the LSID for this workflow, if no LSID value has been assigned this will return the empty string.
 java.lang.String getText()
          Get the free text description for this workflow
 java.lang.String getTitle()
          Get a short descriptive name, not guaranteed to be unique, for this workflow.
 void setAuthor(java.lang.String newAuthor)
          Set the author string for this workflow
 void setLSID(java.lang.String newLSID)
          Set the LSID value, to clear this value set it to the empty string.
 void setText(java.lang.String newText)
          Set the free text description for this workflow
 void setTitle(java.lang.String theTitle)
          Set the title for this workflow
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TITLE

public static java.lang.String DEFAULT_TITLE
Constructor Detail

WorkflowDescription

public WorkflowDescription()
Override the default constructor to set an LSID by default from the assigning service if one has been defined in the global configuration

Method Detail

getTitle

public java.lang.String getTitle()
Get a short descriptive name, not guaranteed to be unique, for this workflow.


setTitle

public void setTitle(java.lang.String theTitle)
Set the title for this workflow


getText

public java.lang.String getText()
Get the free text description for this workflow


setText

public void setText(java.lang.String newText)
Set the free text description for this workflow


getLSID

public java.lang.String getLSID()
Get the LSID for this workflow, if no LSID value has been assigned this will return the empty string.


setLSID

public void setLSID(java.lang.String newLSID)
Set the LSID value, to clear this value set it to the empty string.


getAuthor

public java.lang.String getAuthor()
Get the author string for this workflow, at the moment this is just treated as a single string, we may move to the myGrid information model person type at some point


setAuthor

public void setAuthor(java.lang.String newAuthor)
Set the author string for this workflow


getElement

public static org.jdom.Element getElement(WorkflowDescription theDescription)
Get the XML element corresponding to the referenced WorkflowDescription object


build

public static WorkflowDescription build(org.jdom.Element theElement)
Construct a new WorkflowDescription object from a JDom Element