Class ActionRef
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.AbstractReferrableObject
-
- org.silverpeas.core.workflow.engine.model.ActionRef
-
- All Implemented Interfaces:
Serializable
,AllowedAction
,ReferrableObjectIntf
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
Constructors Constructor Description ActionRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
getAction()
Get the referred actionString
getActionName()
String
getKey()
Return the unique keyvoid
setAction(Action action)
Set the referred action-
Methods inherited from class org.silverpeas.core.workflow.engine.AbstractReferrableObject
equals, hashCode
-
-
-
-
Method Detail
-
getAction
public Action getAction()
Get the referred action- Specified by:
getAction
in interfaceAllowedAction
- Returns:
- an Action object
-
setAction
public void setAction(Action action)
Set the referred action- Specified by:
setAction
in interfaceAllowedAction
- Parameters:
action
- action to refer
-
getActionName
public String getActionName()
-
getKey
public String getKey()
Description copied from interface:ReferrableObjectIntf
Return the unique key- Specified by:
getKey
in interfaceReferrableObjectIntf
-
-