Class JobType

  • All Implemented Interfaces:
    Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class JobType
    extends Object
    implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    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:
    Serialized Form
    • Constructor Detail

      • JobType

        public JobType()
    • Method Detail

      • 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()
      • isSetStarted

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

      • 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()
      • 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()
      • 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

      • 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()
      • copyTo

        public Object copyTo​(Object target)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • copyTo

        public Object copyTo​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • visit

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

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object