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:
  • Constructor Details

    • FcCounterProps

      public FcCounterProps()
  • Method Details

    • getActionType

      public ECounterActionType getActionType()
      Returns:
      The action that indicates how the counter should be modified (increased, decreased, reset, etc.)
    • setActionType

      public void setActionType(ECounterActionType actionType)
      Parameters:
      actionType - The action that indicates how the counter should be modified (increased, decreased, reset, etc.)
    • getCounterRef

      public EntityRef getCounterRef()
      Returns:
      Reference to the counter entity that should be modified.
    • setCounterRef

      public void setCounterRef(EntityRef counterRef)
      Parameters:
      counterRef - Reference to the counter entity that should be modified.
    • getStep

      public String getStep()
      Returns:
      The amount by which the counter should be increased or decreased, depending on the getActionType().
    • setStep

      public void setStep(String step)
      Parameters:
      step - The amount by which the counter should be increased or decreased, depending on the getActionType().