Class 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> &lt;complexType&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/common}IdentifiableElement"&gt; &lt;sequence&gt; &lt;element name="data" type="{http://flower.com/docs/domain/common}Data"/&gt; &lt;element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/&gt; &lt;element name="descriptions" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/&gt; &lt;element name="style" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="startTaskClass" type="{http://flower.com/docs/domain/common}Id"/&gt; &lt;element name="taskClasses" type="{http://flower.com/docs/domain/common}Id" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • 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
    • Constructor Detail

      • Workflow

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

        public Workflow​(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 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.
        Parameters:
        value - allowed object is Data
        See Also:
        getData()
      • 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 list I18NLabel <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 list I18NLabel <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 is String
      • 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 is Id
        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 list Id <p> The identifier of task class used to start the workflow
      • 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
      • setTaskClasses

        public void setTaskClasses​(java.util.List<Id> value)
        See Also:
        getTaskClasses()