Package de.hybris.platform.task
Class TaskConditionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.task.TaskConditionModel
-
- All Implemented Interfaces:
java.io.Serializable
public class TaskConditionModel extends ItemModel
Generated model class for type TaskCondition first defined at extension processing.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TASKCONDITIONRELATIONGenerated relation code constant for relationTaskConditionRelationdefining source attributetaskin extensionprocessing.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCHOICEGenerated constant - Attribute key ofTaskCondition.choiceattribute defined at extensionprocessing.static java.lang.StringCONSUMEDGenerated constant - Attribute key ofTaskCondition.consumedattribute defined at extensionprocessing.static java.lang.StringCOUNTERGenerated constant - Attribute key ofTaskCondition.counterattribute defined at extensionprocessing.static java.lang.StringEXPIRATIONDATEGenerated constant - Attribute key ofTaskCondition.expirationDateattribute defined at extensionprocessing.static java.lang.StringEXPIRATIONTIMEMILLISGenerated constant - Attribute key ofTaskCondition.expirationTimeMillisattribute defined at extensionprocessing.static java.lang.StringFULFILLEDGenerated constant - Attribute key ofTaskCondition.fulfilledattribute defined at extensionprocessing.static java.lang.StringPROCESSEDDATEGenerated constant - Attribute key ofTaskCondition.processedDateattribute defined at extensionprocessing.static java.lang.StringTASKGenerated constant - Attribute key ofTaskCondition.taskattribute defined at extensionprocessing.static java.lang.StringUNIQUEIDGenerated constant - Attribute key ofTaskCondition.uniqueIDattribute defined at extensionprocessing.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description TaskConditionModel()Generated constructor - Default constructor for generic creation.TaskConditionModel(ItemModel _owner, java.lang.String _uniqueID)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTaskConditionModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextTaskConditionModel(java.lang.String _uniqueID)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetChoice()Generated method - Getter of theTaskCondition.choiceattribute defined at extensionprocessing.java.lang.BooleangetConsumed()Generated method - Getter of theTaskCondition.consumedattribute defined at extensionprocessing.java.lang.IntegergetCounter()Generated method - Getter of theTaskCondition.counterattribute defined at extensionprocessing.java.util.DategetExpirationDate()Generated method - Getter of theTaskCondition.expirationDatedynamic attribute defined at extensionprocessing.java.lang.LonggetExpirationTimeMillis()Generated method - Getter of theTaskCondition.expirationTimeMillisattribute defined at extensionprocessing.java.lang.BooleangetFulfilled()Generated method - Getter of theTaskCondition.fulfilledattribute defined at extensionprocessing.java.util.DategetProcessedDate()Generated method - Getter of theTaskCondition.processedDateattribute defined at extensionprocessing.TaskModelgetTask()Generated method - Getter of theTaskCondition.taskattribute defined at extensionprocessing.java.lang.StringgetUniqueID()Generated method - Getter of theTaskCondition.uniqueIDattribute defined at extensionprocessing.voidsetChoice(java.lang.String value)Generated method - Setter ofTaskCondition.choiceattribute defined at extensionprocessing.voidsetConsumed(java.lang.Boolean value)Generated method - Setter ofTaskCondition.consumedattribute defined at extensionprocessing.voidsetCounter(java.lang.Integer value)Generated method - Setter ofTaskCondition.counterattribute defined at extensionprocessing.voidsetExpirationDate(java.util.Date value)Generated method - Setter ofTaskCondition.expirationDatedynamic attribute defined at extensionprocessing.voidsetExpirationTimeMillis(java.lang.Long value)Generated method - Setter ofTaskCondition.expirationTimeMillisattribute defined at extensionprocessing.voidsetFulfilled(java.lang.Boolean value)Generated method - Setter ofTaskCondition.fulfilledattribute defined at extensionprocessing.voidsetProcessedDate(java.util.Date value)Generated method - Setter ofTaskCondition.processedDateattribute defined at extensionprocessing.voidsetTask(TaskModel value)Generated method - Setter ofTaskCondition.taskattribute defined at extensionprocessing.voidsetUniqueID(java.lang.String value)Generated method - Setter ofTaskCondition.uniqueIDattribute defined at extensionprocessing.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_TASKCONDITIONRELATION
public static final java.lang.String _TASKCONDITIONRELATION
Generated relation code constant for relationTaskConditionRelationdefining source attributetaskin extensionprocessing.- See Also:
- Constant Field Values
-
UNIQUEID
public static final java.lang.String UNIQUEID
Generated constant - Attribute key ofTaskCondition.uniqueIDattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
EXPIRATIONDATE
public static final java.lang.String EXPIRATIONDATE
Generated constant - Attribute key ofTaskCondition.expirationDateattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
EXPIRATIONTIMEMILLIS
public static final java.lang.String EXPIRATIONTIMEMILLIS
Generated constant - Attribute key ofTaskCondition.expirationTimeMillisattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
PROCESSEDDATE
public static final java.lang.String PROCESSEDDATE
Generated constant - Attribute key ofTaskCondition.processedDateattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
FULFILLED
public static final java.lang.String FULFILLED
Generated constant - Attribute key ofTaskCondition.fulfilledattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
CONSUMED
public static final java.lang.String CONSUMED
Generated constant - Attribute key ofTaskCondition.consumedattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
CHOICE
public static final java.lang.String CHOICE
Generated constant - Attribute key ofTaskCondition.choiceattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
COUNTER
public static final java.lang.String COUNTER
Generated constant - Attribute key ofTaskCondition.counterattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
TASK
public static final java.lang.String TASK
Generated constant - Attribute key ofTaskCondition.taskattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TaskConditionModel
public TaskConditionModel()
Generated constructor - Default constructor for generic creation.
-
TaskConditionModel
public TaskConditionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
TaskConditionModel
@Deprecated(since="4.1.1", forRemoval=true) public TaskConditionModel(java.lang.String _uniqueID)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_uniqueID- initial attribute declared by typeTaskConditionat extensionprocessing
-
TaskConditionModel
@Deprecated(since="4.1.1", forRemoval=true) public TaskConditionModel(ItemModel _owner, java.lang.String _uniqueID)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore_uniqueID- initial attribute declared by typeTaskConditionat extensionprocessing
-
-
Method Detail
-
getChoice
@Accessor(qualifier="choice", type=GETTER) public java.lang.String getChoice()
Generated method - Getter of theTaskCondition.choiceattribute defined at extensionprocessing.- Returns:
- the choice - Additional value which can be provided by the user when triggering an event
-
getConsumed
@Accessor(qualifier="consumed", type=GETTER) public java.lang.Boolean getConsumed()
Generated method - Getter of theTaskCondition.consumedattribute defined at extensionprocessing.- Returns:
- the consumed
-
getCounter
@Accessor(qualifier="counter", type=GETTER) public java.lang.Integer getCounter()
Generated method - Getter of theTaskCondition.counterattribute defined at extensionprocessing.- Returns:
- the counter - Counter which if set to value greater than 0 prevent fulfilling the condition. Counter is decremented every time when an event is triggered.
-
getExpirationDate
@Accessor(qualifier="expirationDate", type=GETTER) public java.util.Date getExpirationDate()
Generated method - Getter of theTaskCondition.expirationDatedynamic attribute defined at extensionprocessing.- Returns:
- the expirationDate - The maximum allowed time to wait for completion
-
getExpirationTimeMillis
@Accessor(qualifier="expirationTimeMillis", type=GETTER) public java.lang.Long getExpirationTimeMillis()
Generated method - Getter of theTaskCondition.expirationTimeMillisattribute defined at extensionprocessing.- Returns:
- the expirationTimeMillis - The maximum allowed time to wait for completion
-
getFulfilled
@Accessor(qualifier="fulfilled", type=GETTER) public java.lang.Boolean getFulfilled()
Generated method - Getter of theTaskCondition.fulfilledattribute defined at extensionprocessing.- Returns:
- the fulfilled
-
getProcessedDate
@Accessor(qualifier="processedDate", type=GETTER) public java.util.Date getProcessedDate()
Generated method - Getter of theTaskCondition.processedDateattribute defined at extensionprocessing.- Returns:
- the processedDate - The date when this condition has been processed. Then state is switched to FULFILLED or REJECTED.
-
getTask
@Accessor(qualifier="task", type=GETTER) public TaskModel getTask()
Generated method - Getter of theTaskCondition.taskattribute defined at extensionprocessing.- Returns:
- the task
-
getUniqueID
@Accessor(qualifier="uniqueID", type=GETTER) public java.lang.String getUniqueID()
Generated method - Getter of theTaskCondition.uniqueIDattribute defined at extensionprocessing.- Returns:
- the uniqueID - The unique id of this condition - may be created by number series !?
-
setChoice
@Accessor(qualifier="choice", type=SETTER) public void setChoice(java.lang.String value)
Generated method - Setter ofTaskCondition.choiceattribute defined at extensionprocessing.- Parameters:
value- the choice - Additional value which can be provided by the user when triggering an event
-
setConsumed
@Accessor(qualifier="consumed", type=SETTER) public void setConsumed(java.lang.Boolean value)
Generated method - Setter ofTaskCondition.consumedattribute defined at extensionprocessing.- Parameters:
value- the consumed
-
setCounter
@Accessor(qualifier="counter", type=SETTER) public void setCounter(java.lang.Integer value)
Generated method - Setter ofTaskCondition.counterattribute defined at extensionprocessing.- Parameters:
value- the counter - Counter which if set to value greater than 0 prevent fulfilling the condition. Counter is decremented every time when an event is triggered.
-
setExpirationDate
@Accessor(qualifier="expirationDate", type=SETTER) public void setExpirationDate(java.util.Date value)
Generated method - Setter ofTaskCondition.expirationDatedynamic attribute defined at extensionprocessing.- Parameters:
value- the expirationDate - The maximum allowed time to wait for completion
-
setExpirationTimeMillis
@Accessor(qualifier="expirationTimeMillis", type=SETTER) public void setExpirationTimeMillis(java.lang.Long value)
Generated method - Setter ofTaskCondition.expirationTimeMillisattribute defined at extensionprocessing.- Parameters:
value- the expirationTimeMillis - The maximum allowed time to wait for completion
-
setFulfilled
@Accessor(qualifier="fulfilled", type=SETTER) public void setFulfilled(java.lang.Boolean value)
Generated method - Setter ofTaskCondition.fulfilledattribute defined at extensionprocessing.- Parameters:
value- the fulfilled
-
setProcessedDate
@Accessor(qualifier="processedDate", type=SETTER) public void setProcessedDate(java.util.Date value)
Generated method - Setter ofTaskCondition.processedDateattribute defined at extensionprocessing.- Parameters:
value- the processedDate - The date when this condition has been processed. Then state is switched to FULFILLED or REJECTED.
-
setTask
@Accessor(qualifier="task", type=SETTER) public void setTask(TaskModel value)
Generated method - Setter ofTaskCondition.taskattribute defined at extensionprocessing.- Parameters:
value- the task
-
setUniqueID
@Accessor(qualifier="uniqueID", type=SETTER) public void setUniqueID(java.lang.String value)
Generated method - Setter ofTaskCondition.uniqueIDattribute defined at extensionprocessing.- Parameters:
value- the uniqueID - The unique id of this condition - may be created by number series !?
-
-