org.apache.oodt.cas.workflow.lifecycle
Class WorkflowLifecycleStage

java.lang.Object
  extended by org.apache.oodt.cas.workflow.lifecycle.WorkflowLifecycleStage

public class WorkflowLifecycleStage
extends Object

Version:
$Revision$

A particular step (or Stage) in a WorkflowLifecycle

.
Author:
mattmann

Constructor Summary
WorkflowLifecycleStage()
          Default Constructor.
WorkflowLifecycleStage(String name, List states, int order)
          Constructs a new WorkflowLifecycleSage with the given parameters.
 
Method Summary
 String getName()
           
 int getOrder()
           
 List getStates()
           
 int hashCode()
           
 void setName(String name)
           
 void setOrder(int order)
           
 void setStates(List states)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowLifecycleStage

public WorkflowLifecycleStage()
Default Constructor.


WorkflowLifecycleStage

public WorkflowLifecycleStage(String name,
                              List states,
                              int order)
Constructs a new WorkflowLifecycleSage with the given parameters.

Parameters:
name - The name of the WorkflowLifeCycleStage.
states - The List of String states that are part of this particular stage.
order - The ordering of this State in a of States that make up a WorkflowLifeCycle.
Method Detail

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getStates

public List getStates()
Returns:
the states

setStates

public void setStates(List states)
Parameters:
states - the states to set

getOrder

public int getOrder()
Returns:
the order

setOrder

public void setOrder(int order)
Parameters:
order - the order to set

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 1999-2011 Apache OODT. All Rights Reserved.