Class TaskClass

  • All Implemented Interfaces:
    HasDescription, java.io.Serializable

    public class TaskClass
    extends ComponentClass
    implements java.io.Serializable
    Task class which defines a type of tasks <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/componentclass}ComponentClass"&gt; &lt;sequence&gt; &lt;element name="icon" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="children" type="{http://flower.com/docs/domain/taskclass}AttachmentDefinition" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="answers" type="{http://flower.com/docs/domain/taskclass}Answer" maxOccurs="unbounded"/&gt; &lt;element name="workflow" type="{http://flower.com/docs/domain/common}Id" minOccurs="0"/&gt; &lt;element name="autoAssign" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • icon

        protected java.lang.String icon
      • children

        protected java.util.List<AttachmentDefinition> children
        Allowed attachments as task children
      • answers

        protected java.util.List<Answer> answers
        List of answers which can be done on an instance of this class
      • workflow

        protected Id workflow
        The workflow identifier for this class
      • autoAssign

        protected boolean autoAssign
        Determines if the task is autoassigned when edited
    • Constructor Detail

      • TaskClass

        public TaskClass()
        Default no-arg constructor abc
      • TaskClass

        public TaskClass​(Id id,
                         Data data,
                         java.util.List<Id> tagCategories,
                         java.util.List<TagReference> tagReferences,
                         java.util.List<I18NLabel> displayNames,
                         java.util.List<I18NLabel> descriptions,
                         DurationType retentionDuration,
                         Category category,
                         boolean active,
                         java.lang.Boolean technical,
                         java.lang.String icon,
                         java.util.List<AttachmentDefinition> children,
                         java.util.List<Answer> answers,
                         Id workflow,
                         boolean autoAssign)
        Fully-initialising value constructor
    • Method Detail

      • getIcon

        public java.lang.String getIcon()
        Gets the value of the icon property.
        Returns:
        possible object is String
      • setIcon

        public void setIcon​(java.lang.String value)
        Sets the value of the icon property.
        Parameters:
        value - allowed object is String
      • getChildren

        public java.util.List<AttachmentDefinition> getChildren()
        Gets the value of the children property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the children property. <p> For example, to add a new item, do as follows: <pre> getChildren().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list AttachmentDefinition <p> Allowed attachments as task children
      • getAnswers

        public java.util.List<Answer> getAnswers()
        Gets the value of the answers property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the answers property. <p> For example, to add a new item, do as follows: <pre> getAnswers().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list Answer <p> List of answers which can be done on an instance of this class
      • getWorkflow

        public Id getWorkflow()
        Gets the value of the workflow property. <p> The workflow identifier for this class
        Returns:
        possible object is Id
      • setWorkflow

        public void setWorkflow​(Id value)
        Sets the value of the workflow property.
        Parameters:
        value - allowed object is Id
        See Also:
        getWorkflow()
      • isAutoAssign

        public boolean isAutoAssign()
        Gets the value of the autoAssign property. <p> Determines if the task is autoassigned when edited
      • setAutoAssign

        public void setAutoAssign​(boolean value)
        Sets the value of the autoAssign property.
        See Also:
        isAutoAssign()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • setAnswers

        public void setAnswers​(java.util.List<Answer> value)
        See Also:
        getAnswers()