Package com.flower.docs.domain.workflow
Class Workflow
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.workflow.Workflow
-
- All Implemented Interfaces:
java.io.Serializable
public class Workflow extends IdentifiableElement implements java.io.Serializable
Process composed of several tasks classes <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/common}IdentifiableElement"> <sequence> <element name="data" type="{http://flower.com/docs/domain/common}Data"/> <element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/> <element name="descriptions" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/> <element name="style" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="startTaskClass" type="{http://flower.com/docs/domain/common}Id"/> <element name="taskClasses" type="{http://flower.com/docs/domain/common}Id" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Data
data
Workflow system dataprotected java.util.List<I18NLabel>
descriptions
Internationalized descriptions of the workflowprotected java.util.List<I18NLabel>
displayNames
Internationalized names of the workflowprotected Id
startTaskClass
The identifier of task class used to start the workflowprotected java.lang.String
style
protected java.util.List<Id>
taskClasses
The identifier of task class used to start the workflow-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description Workflow()
Default no-arg constructor abcWorkflow(Id id, Data data, java.util.List<I18NLabel> displayNames, java.util.List<I18NLabel> descriptions, java.lang.String style, Id startTaskClass, java.util.List<Id> taskClasses)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
Data
getData()
Gets the value of the data property.java.util.List<I18NLabel>
getDescriptions()
Gets the value of the descriptions property.java.util.List<I18NLabel>
getDisplayNames()
Gets the value of the displayNames property.Id
getStartTaskClass()
Gets the value of the startTaskClass property.java.lang.String
getStyle()
Gets the value of the style property.java.util.List<Id>
getTaskClasses()
Gets the value of the taskClasses property.int
hashCode()
void
setData(Data value)
Sets the value of the data property.void
setDescriptions(java.util.List<I18NLabel> value)
void
setDisplayNames(java.util.List<I18NLabel> value)
void
setStartTaskClass(Id value)
Sets the value of the startTaskClass property.void
setStyle(java.lang.String value)
Sets the value of the style property.void
setTaskClasses(java.util.List<Id> value)
java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
data
protected Data data
Workflow system data
-
displayNames
protected java.util.List<I18NLabel> displayNames
Internationalized names of the workflow
-
descriptions
protected java.util.List<I18NLabel> descriptions
Internationalized descriptions of the workflow
-
style
protected java.lang.String style
-
startTaskClass
protected Id startTaskClass
The identifier of task class used to start the workflow
-
taskClasses
protected java.util.List<Id> taskClasses
The identifier of task class used to start the workflow
-
-
Method Detail
-
getData
public Data getData()
Gets the value of the data property. <p> Workflow system data- Returns:
- possible object is
Data
-
setData
public void setData(Data value)
Sets the value of the data property.
-
getDisplayNames
public java.util.List<I18NLabel> getDisplayNames()
Gets the value of the displayNames 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 displayNames property. <p> For example, to add a new item, do as follows: <pre> getDisplayNames().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listI18NLabel
<p> Internationalized names of the workflow
-
getDescriptions
public java.util.List<I18NLabel> getDescriptions()
Gets the value of the descriptions 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 descriptions property. <p> For example, to add a new item, do as follows: <pre> getDescriptions().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listI18NLabel
<p> Internationalized descriptions of the workflow
-
getStyle
public java.lang.String getStyle()
Gets the value of the style property.- Returns:
- possible object is
String
-
setStyle
public void setStyle(java.lang.String value)
Sets the value of the style property.- Parameters:
value
- allowed object isString
-
getStartTaskClass
public Id getStartTaskClass()
Gets the value of the startTaskClass property. <p> The identifier of task class used to start the workflow- Returns:
- possible object is
Id
-
setStartTaskClass
public void setStartTaskClass(Id value)
Sets the value of the startTaskClass property.- Parameters:
value
- allowed object isId
- See Also:
getStartTaskClass()
-
getTaskClasses
public java.util.List<Id> getTaskClasses()
Gets the value of the taskClasses 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 taskClasses property. <p> For example, to add a new item, do as follows: <pre> getTaskClasses().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listId
<p> The identifier of task class used to start the workflow
-
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
-
setDisplayNames
public void setDisplayNames(java.util.List<I18NLabel> value)
- See Also:
getDisplayNames()
-
setDescriptions
public void setDescriptions(java.util.List<I18NLabel> value)
- See Also:
getDescriptions()
-
setTaskClasses
public void setTaskClasses(java.util.List<Id> value)
- See Also:
getTaskClasses()
-
-