com.silverpeas.workflow.engine.model
Class StateRef

java.lang.Object
  extended by com.silverpeas.workflow.engine.model.StateRef
All Implemented Interfaces:
StateSetter, Serializable

public class StateRef
extends Object
implements Serializable, StateSetter

Class implementing the representation of the <set> and <unset> elements of a Process Model.

See Also:
Serialized Form

Constructor Summary
StateRef()
           
 
Method Summary
 State getState()
          Get the referred state
 void setState(State state)
          Set the referred state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateRef

public StateRef()
Method Detail

getState

public State getState()
Get the referred state

Specified by:
getState in interface StateSetter

setState

public void setState(State state)
Set the referred state

Specified by:
setState in interface StateSetter
Parameters:
state - state to refer


Copyright © 2016 Silverpeas. All Rights Reserved.