Class JobTaskType

java.lang.Object
com.vidispine.generated.JobTaskType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

public class JobTaskType extends Object implements Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

Java class for JobTaskType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="JobTaskType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="step" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="attempts" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="progress" type="{http://xml.vidispine.com/schema/vidispine}JobTaskProgressType" minOccurs="0"/>
         <element name="subStep" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
                   <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="totalSubTasks" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="subTask" type="{http://xml.vidispine.com/schema/vidispine}JobTaskType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • JobTaskType

      public JobTaskType()
  • Method Details

    • getStep

      public int getStep()
      Gets the value of the step property.
    • setStep

      public void setStep(int value)
      Sets the value of the step property.
    • isSetStep

      public boolean isSetStep()
    • getAttempts

      public int getAttempts()
      Gets the value of the attempts property.
    • setAttempts

      public void setAttempts(int value)
      Sets the value of the attempts property.
    • isSetAttempts

      public boolean isSetAttempts()
    • getStatus

      public String getStatus()
      Gets the value of the status property.
      Returns:
      possible object is String
    • setStatus

      public void setStatus(String value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is String
    • isSetStatus

      public boolean isSetStatus()
    • getTimestamp

      public XMLGregorianCalendar getTimestamp()
      Gets the value of the timestamp property.
      Returns:
      possible object is XMLGregorianCalendar
    • setTimestamp

      public void setTimestamp(XMLGregorianCalendar value)
      Sets the value of the timestamp property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • isSetTimestamp

      public boolean isSetTimestamp()
    • getDescription

      public String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • isSetDescription

      public boolean isSetDescription()
    • getProgress

      public JobTaskProgressType getProgress()
      Gets the value of the progress property.
      Returns:
      possible object is JobTaskProgressType
    • setProgress

      public void setProgress(JobTaskProgressType value)
      Sets the value of the progress property.
      Parameters:
      value - allowed object is JobTaskProgressType
    • isSetProgress

      public boolean isSetProgress()
    • getSubStep

      public List<JobTaskType.SubStep> getSubStep()
      Gets the value of the subStep property.

      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 set method for the subStep property.

      For example, to add a new item, do as follows:

       getSubStep().add(newItem);
       

      Objects of the following type(s) are allowed in the list JobTaskType.SubStep

      Returns:
      The value of the subStep property.
    • isSetSubStep

      public boolean isSetSubStep()
    • unsetSubStep

      public void unsetSubStep()
    • getErrorMessage

      public String getErrorMessage()
      Gets the value of the errorMessage property.
      Returns:
      possible object is String
    • setErrorMessage

      public void setErrorMessage(String value)
      Sets the value of the errorMessage property.
      Parameters:
      value - allowed object is String
    • isSetErrorMessage

      public boolean isSetErrorMessage()
    • getTotalSubTasks

      public Integer getTotalSubTasks()
      Gets the value of the totalSubTasks property.
      Returns:
      possible object is Integer
    • setTotalSubTasks

      public void setTotalSubTasks(Integer value)
      Sets the value of the totalSubTasks property.
      Parameters:
      value - allowed object is Integer
    • isSetTotalSubTasks

      public boolean isSetTotalSubTasks()
    • getSubTask

      public List<JobTaskType> getSubTask()
      Gets the value of the subTask property.

      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 set method for the subTask property.

      For example, to add a new item, do as follows:

       getSubTask().add(newItem);
       

      Objects of the following type(s) are allowed in the list JobTaskType

      Returns:
      The value of the subTask property.
    • isSetSubTask

      public boolean isSetSubTask()
    • unsetSubTask

      public void unsetSubTask()
    • getId

      public int getId()
      Gets the value of the id property.
      Returns:
      possible object is Integer
    • setId

      public void setId(int value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is Integer
    • isSetId

      public boolean isSetId()
    • unsetId

      public void unsetId()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • copyTo

      public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
    • withStep

      public JobTaskType withStep(int value)
      Sets the value of the step property.
      Parameters:
      value - allowed object is int
      Returns:
      The class instance
    • withAttempts

      public JobTaskType withAttempts(int value)
      Sets the value of the attempts property.
      Parameters:
      value - allowed object is int
      Returns:
      The class instance
    • withStatus

      public JobTaskType withStatus(String value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withTimestamp

      public JobTaskType withTimestamp(XMLGregorianCalendar value)
      Sets the value of the timestamp property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      Returns:
      The class instance
    • withDescription

      public JobTaskType withDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withProgress

      public JobTaskType withProgress(JobTaskProgressType value)
      Sets the value of the progress property.
      Parameters:
      value - allowed object is JobTaskProgressType
      Returns:
      The class instance
    • withSubStep

      public JobTaskType withSubStep(JobTaskType.SubStep... values)
      Adds objects to the list of SubStep using add method
      Parameters:
      values - objects to add to the list SubStep
      Returns:
      The class instance
    • withSubStep

      public JobTaskType withSubStep(Collection<JobTaskType.SubStep> values)
      Adds objects to the list of SubStep using addAll method
      Parameters:
      values - objects to add to the list SubStep
      Returns:
      The class instance
    • withErrorMessage

      public JobTaskType withErrorMessage(String value)
      Sets the value of the errorMessage property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withTotalSubTasks

      public JobTaskType withTotalSubTasks(Integer value)
      Sets the value of the totalSubTasks property.
      Parameters:
      value - allowed object is Integer
      Returns:
      The class instance
    • withSubTask

      public JobTaskType withSubTask(JobTaskType... values)
      Adds objects to the list of SubTask using add method
      Parameters:
      values - objects to add to the list SubTask
      Returns:
      The class instance
    • withSubTask

      public JobTaskType withSubTask(Collection<JobTaskType> values)
      Adds objects to the list of SubTask using addAll method
      Parameters:
      values - objects to add to the list SubTask
      Returns:
      The class instance
    • withId

      public JobTaskType withId(int value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is int
      Returns:
      The class instance
    • equals

      public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)
      Specified by:
      equals in interface org.jvnet.jaxb.lang.Equals
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • visit

      public JobTaskType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
    • hashCode

      public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb.lang.HashCode
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString