Package de.xima.fc.workflow.model.nodes
Class FcCounterProps
java.lang.Object
de.xima.fc.workflow.taglib.model.BaseActionProps
de.xima.fc.workflow.model.nodes.FcCounterProps
- All Implemented Interfaces:
IDescriptionProviding
,INameProviding
,Serializable
@NotEmptyIf(field="step",
dependants="actionType",
target=FcCounterProps.class)
public class FcCounterProps
extends BaseActionProps
implements Serializable
Model class for the workflow action that modifies a counter, see also
EWorkflowNodeType.FC_COUNTER
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStep()
void
setActionType
(ECounterActionType actionType) void
setCounterRef
(EntityRef counterRef) void
Methods inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
Constructor Details
-
FcCounterProps
public FcCounterProps()
-
-
Method Details
-
getActionType
- Returns:
- The action that indicates how the counter should be modified (increased, decreased, reset, etc.)
-
setActionType
- Parameters:
actionType
- The action that indicates how the counter should be modified (increased, decreased, reset, etc.)
-
getCounterRef
- Returns:
- Reference to the counter entity that should be modified.
-
setCounterRef
- Parameters:
counterRef
- Reference to the counter entity that should be modified.
-
getStep
- Returns:
- The amount by which the counter should be increased or decreased, depending on the
getActionType()
.
-
setStep
- Parameters:
step
- The amount by which the counter should be increased or decreased, depending on thegetActionType()
.
-