Package mc.core.model.system
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
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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWfParameter(String key, T value) WfParameter(String key, T value, boolean mandatory) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetId()getKey()getValue()inthashCode()booleanvoidsetId(long id) voidvoidsetMandatory(boolean isMandatory) voidsetValue(Serializable value) toString()
-
Constructor Details
-
WfParameter
public WfParameter() -
WfParameter
-
WfParameter
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceIBaseEntity
-
setId
public void setId(long id) - Specified by:
setIdin interfaceIBaseEntity
-
getKey
-
setKey
-
getValue
-
setValue
-
toString
-
isMandatory
public boolean isMandatory() -
setMandatory
public void setMandatory(boolean isMandatory) -
equals
-
hashCode
public int hashCode()
-