Class WfParameter<T extends Serializable>

java.lang.Object
mc.core.model.system.WfParameter<T>
Type Parameters:
T - type of the object that is the value of the parameter.
All Implemented Interfaces:
Serializable, IBaseEntity, ICoreEntity

@Entity public class WfParameter<T extends Serializable> extends Object implements IBaseEntity
Parameterizable class to represent a parameter to be used in a workflow action, consisting of a key-value pair. The object that is the value of the parameter must be Serializable.
See Also:
  • Constructor Details

    • WfParameter

      public WfParameter()
    • WfParameter

      public WfParameter(String key, T value)
    • WfParameter

      public WfParameter(String key, T value, boolean mandatory)
  • Method Details

    • getId

      public long getId()
      Specified by:
      getId in interface IBaseEntity
    • setId

      public void setId(long id)
      Specified by:
      setId in interface IBaseEntity
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getValue

      public Serializable getValue()
    • setValue

      public void setValue(Serializable value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isMandatory

      public boolean isMandatory()
    • setMandatory

      public void setMandatory(boolean isMandatory)
    • equals

      public boolean equals(Object another)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object