Package com.flower.docs.domain.taskclass
Class TaskClass
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.componentclass.ComponentClass
-
- com.flower.docs.domain.taskclass.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> <complexType> <complexContent> <extension base="{http://flower.com/docs/domain/componentclass}ComponentClass"> <sequence> <element name="icon" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="children" type="{http://flower.com/docs/domain/taskclass}AttachmentDefinition" maxOccurs="unbounded" minOccurs="0"/> <element name="answers" type="{http://flower.com/docs/domain/taskclass}Answer" maxOccurs="unbounded"/> <element name="workflow" type="{http://flower.com/docs/domain/common}Id" minOccurs="0"/> <element name="autoAssign" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Answer>
answers
List of answers which can be done on an instance of this classprotected boolean
autoAssign
Determines if the task is autoassigned when editedprotected java.util.List<AttachmentDefinition>
children
Allowed attachments as task childrenprotected java.lang.String
icon
protected Id
workflow
The workflow identifier for this class-
Fields inherited from class com.flower.docs.domain.componentclass.ComponentClass
active, category, data, descriptions, displayNames, retentionDuration, tagCategories, tagReferences, technical
-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description TaskClass()
Default no-arg constructor abcTaskClass(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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.util.List<Answer>
getAnswers()
Gets the value of the answers property.java.util.List<AttachmentDefinition>
getChildren()
Gets the value of the children property.java.lang.String
getIcon()
Gets the value of the icon property.Id
getWorkflow()
Gets the value of the workflow property.int
hashCode()
boolean
isAutoAssign()
Gets the value of the autoAssign property.void
setAnswers(java.util.List<Answer> value)
void
setAutoAssign(boolean value)
Sets the value of the autoAssign property.void
setChildren(java.util.List<AttachmentDefinition> value)
void
setIcon(java.lang.String value)
Sets the value of the icon property.void
setWorkflow(Id value)
Sets the value of the workflow property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.componentclass.ComponentClass
getCategory, getData, getDescriptions, getDisplayNames, getRetentionDuration, getTagCategories, getTagReferences, isActive, isTechnical, setActive, setCategory, setData, setDescriptions, setDisplayNames, setRetentionDuration, setTagCategories, setTagReferences, setTechnical
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
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 isString
-
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 listAttachmentDefinition
<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 listAnswer
<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 isId
- 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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
setChildren
public void setChildren(java.util.List<AttachmentDefinition> value)
- See Also:
getChildren()
-
setAnswers
public void setAnswers(java.util.List<Answer> value)
- See Also:
getAnswers()
-
-