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:
Serializable

public class TaskConditionModel extends ItemModel
Generated model class for type TaskCondition first defined at extension processing.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation TaskConditionRelation defining source attribute task in extension processing.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of TaskCondition.choice attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of TaskCondition.consumed attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of TaskCondition.counter attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of TaskCondition.expirationDate attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of TaskCondition.expirationTimeMillis attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of TaskCondition.fulfilled attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of TaskCondition.processedDate attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of TaskCondition.task attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of TaskCondition.uniqueID attribute defined at extension processing.

    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
    Generated constructor - Default constructor for generic creation.
    TaskConditionModel(ItemModel _owner, 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
    TaskConditionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the TaskCondition.choice attribute defined at extension processing.
    Generated method - Getter of the TaskCondition.consumed attribute defined at extension processing.
    Generated method - Getter of the TaskCondition.counter attribute defined at extension processing.
    Generated method - Getter of the TaskCondition.expirationDate dynamic attribute defined at extension processing.
    Generated method - Getter of the TaskCondition.expirationTimeMillis attribute defined at extension processing.
    Generated method - Getter of the TaskCondition.fulfilled attribute defined at extension processing.
    Generated method - Getter of the TaskCondition.processedDate attribute defined at extension processing.
    Generated method - Getter of the TaskCondition.task attribute defined at extension processing.
    Generated method - Getter of the TaskCondition.uniqueID attribute defined at extension processing.
    void
    Generated method - Setter of TaskCondition.choice attribute defined at extension processing.
    void
    Generated method - Setter of TaskCondition.consumed attribute defined at extension processing.
    void
    Generated method - Setter of TaskCondition.counter attribute defined at extension processing.
    void
    Generated method - Setter of TaskCondition.expirationDate dynamic attribute defined at extension processing.
    void
    Generated method - Setter of TaskCondition.expirationTimeMillis attribute defined at extension processing.
    void
    Generated method - Setter of TaskCondition.fulfilled attribute defined at extension processing.
    void
    Generated method - Setter of TaskCondition.processedDate attribute defined at extension processing.
    void
    Generated method - Setter of TaskCondition.task attribute defined at extension processing.
    void
    Generated method - Setter of TaskCondition.uniqueID attribute defined at extension processing.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _TASKCONDITIONRELATION

      public static final String _TASKCONDITIONRELATION
      Generated relation code constant for relation TaskConditionRelation defining source attribute task in extension processing.
      See Also:
    • UNIQUEID

      public static final String UNIQUEID
      Generated constant - Attribute key of TaskCondition.uniqueID attribute defined at extension processing.
      See Also:
    • EXPIRATIONDATE

      public static final String EXPIRATIONDATE
      Generated constant - Attribute key of TaskCondition.expirationDate attribute defined at extension processing.
      See Also:
    • EXPIRATIONTIMEMILLIS

      public static final String EXPIRATIONTIMEMILLIS
      Generated constant - Attribute key of TaskCondition.expirationTimeMillis attribute defined at extension processing.
      See Also:
    • PROCESSEDDATE

      public static final String PROCESSEDDATE
      Generated constant - Attribute key of TaskCondition.processedDate attribute defined at extension processing.
      See Also:
    • FULFILLED

      public static final String FULFILLED
      Generated constant - Attribute key of TaskCondition.fulfilled attribute defined at extension processing.
      See Also:
    • CONSUMED

      public static final String CONSUMED
      Generated constant - Attribute key of TaskCondition.consumed attribute defined at extension processing.
      See Also:
    • CHOICE

      public static final String CHOICE
      Generated constant - Attribute key of TaskCondition.choice attribute defined at extension processing.
      See Also:
    • COUNTER

      public static final String COUNTER
      Generated constant - Attribute key of TaskCondition.counter attribute defined at extension processing.
      See Also:
    • TASK

      public static final String TASK
      Generated constant - Attribute key of TaskCondition.task attribute defined at extension processing.
      See Also:
  • Constructor Details

    • TaskConditionModel

      public TaskConditionModel()
      Generated constructor - Default constructor for generic creation.
    • TaskConditionModel

      public TaskConditionModel(de.hybris.platform.servicelayer.model.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(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
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _uniqueID - initial attribute declared by type TaskCondition at extension processing
    • TaskConditionModel

      @Deprecated(since="4.1.1", forRemoval=true) public TaskConditionModel(ItemModel _owner, 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
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
      _uniqueID - initial attribute declared by type TaskCondition at extension processing
  • Method Details

    • getChoice

      @Accessor(qualifier="choice", type=GETTER) public String getChoice()
      Generated method - Getter of the TaskCondition.choice attribute defined at extension processing.
      Returns:
      the choice - Additional value which can be provided by the user when triggering an event
    • getConsumed

      @Accessor(qualifier="consumed", type=GETTER) public Boolean getConsumed()
      Generated method - Getter of the TaskCondition.consumed attribute defined at extension processing.
      Returns:
      the consumed
    • getCounter

      @Accessor(qualifier="counter", type=GETTER) public Integer getCounter()
      Generated method - Getter of the TaskCondition.counter attribute defined at extension processing.
      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 Date getExpirationDate()
      Generated method - Getter of the TaskCondition.expirationDate dynamic attribute defined at extension processing.
      Returns:
      the expirationDate - The maximum allowed time to wait for completion
    • getExpirationTimeMillis

      @Accessor(qualifier="expirationTimeMillis", type=GETTER) public Long getExpirationTimeMillis()
      Generated method - Getter of the TaskCondition.expirationTimeMillis attribute defined at extension processing.
      Returns:
      the expirationTimeMillis - The maximum allowed time to wait for completion
    • getFulfilled

      @Accessor(qualifier="fulfilled", type=GETTER) public Boolean getFulfilled()
      Generated method - Getter of the TaskCondition.fulfilled attribute defined at extension processing.
      Returns:
      the fulfilled
    • getProcessedDate

      @Accessor(qualifier="processedDate", type=GETTER) public Date getProcessedDate()
      Generated method - Getter of the TaskCondition.processedDate attribute defined at extension processing.
      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 the TaskCondition.task attribute defined at extension processing.
      Returns:
      the task
    • getUniqueID

      @Accessor(qualifier="uniqueID", type=GETTER) public String getUniqueID()
      Generated method - Getter of the TaskCondition.uniqueID attribute defined at extension processing.
      Returns:
      the uniqueID - The unique id of this condition - may be created by number series !?
    • setChoice

      @Accessor(qualifier="choice", type=SETTER) public void setChoice(String value)
      Generated method - Setter of TaskCondition.choice attribute defined at extension processing.
      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(Boolean value)
      Generated method - Setter of TaskCondition.consumed attribute defined at extension processing.
      Parameters:
      value - the consumed
    • setCounter

      @Accessor(qualifier="counter", type=SETTER) public void setCounter(Integer value)
      Generated method - Setter of TaskCondition.counter attribute defined at extension processing.
      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(Date value)
      Generated method - Setter of TaskCondition.expirationDate dynamic attribute defined at extension processing.
      Parameters:
      value - the expirationDate - The maximum allowed time to wait for completion
    • setExpirationTimeMillis

      @Accessor(qualifier="expirationTimeMillis", type=SETTER) public void setExpirationTimeMillis(Long value)
      Generated method - Setter of TaskCondition.expirationTimeMillis attribute defined at extension processing.
      Parameters:
      value - the expirationTimeMillis - The maximum allowed time to wait for completion
    • setFulfilled

      @Accessor(qualifier="fulfilled", type=SETTER) public void setFulfilled(Boolean value)
      Generated method - Setter of TaskCondition.fulfilled attribute defined at extension processing.
      Parameters:
      value - the fulfilled
    • setProcessedDate

      @Accessor(qualifier="processedDate", type=SETTER) public void setProcessedDate(Date value)
      Generated method - Setter of TaskCondition.processedDate attribute defined at extension processing.
      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 of TaskCondition.task attribute defined at extension processing.
      Parameters:
      value - the task
    • setUniqueID

      @Accessor(qualifier="uniqueID", type=SETTER) public void setUniqueID(String value)
      Generated method - Setter of TaskCondition.uniqueID attribute defined at extension processing.
      Parameters:
      value - the uniqueID - The unique id of this condition - may be created by number series !?