com.silverpeas.workflow.engine.model
Class ActionRef
java.lang.Object
com.silverpeas.workflow.engine.AbstractReferrableObject
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
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 |
ActionRef
public ActionRef()
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.