com.silverpeas.workflow.engine.model
Class ActionRef

java.lang.Object
  extended by com.silverpeas.workflow.engine.AbstractReferrableObject
      extended by com.silverpeas.workflow.engine.model.ActionRef
All Implemented Interfaces:
AllowedAction, ReferrableObjectIntf, Serializable

public class ActionRef
extends AbstractReferrableObject
implements Serializable, AllowedAction

Class implementing the representation of the <allow> element of a Process Model.

See Also:
Serialized Form

Constructor Summary
ActionRef()
           
 
Method Summary
 Action getAction()
          Get the referred action
 String getKey()
          This method has to be implemented by the referrable object it has to compute the unique key
 void setAction(Action action)
          Set the referred action
 
Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionRef

public ActionRef()
Method Detail

getAction

public Action getAction()
Get the referred action

Specified by:
getAction in interface AllowedAction
Returns:
an Action object

setAction

public void setAction(Action action)
Set the referred action

Specified by:
setAction in interface AllowedAction
Parameters:
action - action to refer

getKey

public String getKey()
Description copied from class: AbstractReferrableObject
This method has to be implemented by the referrable object it has to compute the unique key

Specified by:
getKey in interface ReferrableObjectIntf
Specified by:
getKey in class AbstractReferrableObject
Returns:
The unique key.
See Also:
equals, hashCode


Copyright © 2016 Silverpeas. All Rights Reserved.