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

A particular step (or Stage) in a WorkflowLifecycle

Version:
$Revision$
Author:
mattmann

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

Constructor Detail

WorkflowLifecycleStage

public WorkflowLifecycleStage()
Default Constructor.


WorkflowLifecycleStage

public WorkflowLifecycleStage(String name,
                              List<WorkflowState> 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<WorkflowState> getStates()
Returns:
the states

setStates

public void setStates(List<WorkflowState> 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

equals

public boolean equals(Object stage)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


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