Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TASKCONDITIONRELATION
      Generated relation code constant for relation TaskConditionRelation defining source attribute task in extension processing.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CHOICE
      Generated constant - Attribute key of TaskCondition.choice attribute defined at extension processing.
      static java.lang.String CONSUMED
      Generated constant - Attribute key of TaskCondition.consumed attribute defined at extension processing.
      static java.lang.String COUNTER
      Generated constant - Attribute key of TaskCondition.counter attribute defined at extension processing.
      static java.lang.String EXPIRATIONDATE
      Generated constant - Attribute key of TaskCondition.expirationDate attribute defined at extension processing.
      static java.lang.String EXPIRATIONTIMEMILLIS
      Generated constant - Attribute key of TaskCondition.expirationTimeMillis attribute defined at extension processing.
      static java.lang.String FULFILLED
      Generated constant - Attribute key of TaskCondition.fulfilled attribute defined at extension processing.
      static java.lang.String PROCESSEDDATE
      Generated constant - Attribute key of TaskCondition.processedDate attribute defined at extension processing.
      static java.lang.String TASK
      Generated constant - Attribute key of TaskCondition.task attribute defined at extension processing.
      static java.lang.String UNIQUEID
      Generated constant - Attribute key of TaskCondition.uniqueID attribute defined at extension processing.
    • 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 parameters
      TaskConditionModel​(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      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 parameters
    • 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 relation TaskConditionRelation defining source attribute task in extension processing.
        See Also:
        Constant Field Values
      • UNIQUEID

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

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

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

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

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

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

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

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

        public static final java.lang.String TASK
        Generated constant - Attribute key of TaskCondition.task attribute defined at extension processing.
        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 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,
                                  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
        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 Detail

      • getChoice

        @Accessor(qualifier="choice",
                  type=GETTER)
        public java.lang.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 java.lang.Boolean getConsumed()
        Generated method - Getter of the TaskCondition.consumed attribute defined at extension processing.
        Returns:
        the consumed
      • getCounter

        @Accessor(qualifier="counter",
                  type=GETTER)
        public java.lang.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 java.util.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 java.lang.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 java.lang.Boolean getFulfilled()
        Generated method - Getter of the TaskCondition.fulfilled attribute defined at extension processing.
        Returns:
        the fulfilled
      • getProcessedDate

        @Accessor(qualifier="processedDate",
                  type=GETTER)
        public java.util.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 java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.util.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​(java.lang.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​(java.lang.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​(java.util.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​(java.lang.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 !?