Class JobType

java.lang.Object
com.vidispine.generated.JobType
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 JobType 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 JobType complex type

.

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


 <complexType name="JobType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="jobId" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType"/>
         <element name="user" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="started" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="finished" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="subJob" type="{http://xml.vidispine.com/schema/vidispine}JobType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="priority" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="waiting" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="resourceId" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
                   <element name="resourceType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="requirement" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="currentStep" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="number" type="{http://www.w3.org/2001/XMLSchema}int"/>
                   <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="data" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="totalSteps" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="log" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="task" type="{http://xml.vidispine.com/schema/vidispine}JobTaskType" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • JobType

      public JobType()
  • Method Details

    • getJobId

      public String getJobId()
      Gets the value of the jobId property.
      Returns:
      possible object is String
    • setJobId

      public void setJobId(String value)
      Sets the value of the jobId property.
      Parameters:
      value - allowed object is String
    • isSetJobId

      public boolean isSetJobId()
    • getUser

      public String getUser()
      Gets the value of the user property.
      Returns:
      possible object is String
    • setUser

      public void setUser(String value)
      Sets the value of the user property.
      Parameters:
      value - allowed object is String
    • isSetUser

      public boolean isSetUser()
    • getStarted

      public XMLGregorianCalendar getStarted()
      Gets the value of the started property.
      Returns:
      possible object is XMLGregorianCalendar
    • setStarted

      public void setStarted(XMLGregorianCalendar value)
      Sets the value of the started property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • isSetStarted

      public boolean isSetStarted()
    • getFinished

      public XMLGregorianCalendar getFinished()
      Gets the value of the finished property.
      Returns:
      possible object is XMLGregorianCalendar
    • setFinished

      public void setFinished(XMLGregorianCalendar value)
      Sets the value of the finished property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • isSetFinished

      public boolean isSetFinished()
    • 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()
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • isSetType

      public boolean isSetType()
    • getSubJob

      public List<JobType> getSubJob()
      Gets the value of the subJob 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 subJob property.

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

       getSubJob().add(newItem);
       

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

      Returns:
      The value of the subJob property.
    • isSetSubJob

      public boolean isSetSubJob()
    • unsetSubJob

      public void unsetSubJob()
    • getPriority

      public String getPriority()
      Gets the value of the priority property.
      Returns:
      possible object is String
    • setPriority

      public void setPriority(String value)
      Sets the value of the priority property.
      Parameters:
      value - allowed object is String
    • isSetPriority

      public boolean isSetPriority()
    • getWaiting

      public JobType.Waiting getWaiting()
      Gets the value of the waiting property.
      Returns:
      possible object is JobType.Waiting
    • setWaiting

      public void setWaiting(JobType.Waiting value)
      Sets the value of the waiting property.
      Parameters:
      value - allowed object is JobType.Waiting
    • isSetWaiting

      public boolean isSetWaiting()
    • getCurrentStep

      public JobType.CurrentStep getCurrentStep()
      Gets the value of the currentStep property.
      Returns:
      possible object is JobType.CurrentStep
    • setCurrentStep

      public void setCurrentStep(JobType.CurrentStep value)
      Sets the value of the currentStep property.
      Parameters:
      value - allowed object is JobType.CurrentStep
    • isSetCurrentStep

      public boolean isSetCurrentStep()
    • getData

      public List<JobType.Data> getData()
      Gets the value of the data 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 data property.

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

       getData().add(newItem);
       

      Objects of the following type(s) are allowed in the list JobType.Data

      Returns:
      The value of the data property.
    • isSetData

      public boolean isSetData()
    • unsetData

      public void unsetData()
    • getTotalSteps

      public Integer getTotalSteps()
      Gets the value of the totalSteps property.
      Returns:
      possible object is Integer
    • setTotalSteps

      public void setTotalSteps(Integer value)
      Sets the value of the totalSteps property.
      Parameters:
      value - allowed object is Integer
    • isSetTotalSteps

      public boolean isSetTotalSteps()
    • getLog

      public JobType.Log getLog()
      Gets the value of the log property.
      Returns:
      possible object is JobType.Log
    • setLog

      public void setLog(JobType.Log value)
      Sets the value of the log property.
      Parameters:
      value - allowed object is JobType.Log
    • isSetLog

      public boolean isSetLog()
    • 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
    • withJobId

      public JobType withJobId(String value)
      Sets the value of the jobId property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withUser

      public JobType withUser(String value)
      Sets the value of the user property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withStarted

      public JobType withStarted(XMLGregorianCalendar value)
      Sets the value of the started property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      Returns:
      The class instance
    • withFinished

      public JobType withFinished(XMLGregorianCalendar value)
      Sets the value of the finished property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      Returns:
      The class instance
    • withStatus

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

      public JobType withType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withSubJob

      public JobType withSubJob(JobType... values)
      Adds objects to the list of SubJob using add method
      Parameters:
      values - objects to add to the list SubJob
      Returns:
      The class instance
    • withSubJob

      public JobType withSubJob(Collection<JobType> values)
      Adds objects to the list of SubJob using addAll method
      Parameters:
      values - objects to add to the list SubJob
      Returns:
      The class instance
    • withPriority

      public JobType withPriority(String value)
      Sets the value of the priority property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withWaiting

      public JobType withWaiting(JobType.Waiting value)
      Sets the value of the waiting property.
      Parameters:
      value - allowed object is JobType.Waiting
      Returns:
      The class instance
    • withCurrentStep

      public JobType withCurrentStep(JobType.CurrentStep value)
      Sets the value of the currentStep property.
      Parameters:
      value - allowed object is JobType.CurrentStep
      Returns:
      The class instance
    • withData

      public JobType withData(JobType.Data... values)
      Adds objects to the list of Data using add method
      Parameters:
      values - objects to add to the list Data
      Returns:
      The class instance
    • withData

      public JobType withData(Collection<JobType.Data> values)
      Adds objects to the list of Data using addAll method
      Parameters:
      values - objects to add to the list Data
      Returns:
      The class instance
    • withTotalSteps

      public JobType withTotalSteps(Integer value)
      Sets the value of the totalSteps property.
      Parameters:
      value - allowed object is Integer
      Returns:
      The class instance
    • withLog

      public JobType withLog(JobType.Log value)
      Sets the value of the log property.
      Parameters:
      value - allowed object is JobType.Log
      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 JobType 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