Class JobType
- java.lang.Object
-
- com.vidispine.generated.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobType.CurrentStep
Java class for anonymous complex type.static class
JobType.Data
Java class for anonymous complex type.static class
JobType.Log
Java class for anonymous complex type.static class
JobType.PropInfo
static class
JobType.Waiting
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected JobType.CurrentStep
currentStep
protected List<JobType.Data>
data
protected XMLGregorianCalendar
finished
protected String
jobId
protected JobType.Log
log
protected String
priority
protected XMLGregorianCalendar
started
protected String
status
protected List<JobType>
subJob
protected Integer
totalSteps
protected String
type
protected String
user
protected JobType.Waiting
waiting
-
Constructor Summary
Constructors Constructor Description JobType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Object
copyTo(Object target)
Object
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Object
createNewInstance()
boolean
equals(Object object)
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)
JobType.CurrentStep
getCurrentStep()
Gets the value of the currentStep property.List<JobType.Data>
getData()
Gets the value of the data property.XMLGregorianCalendar
getFinished()
Gets the value of the finished property.String
getJobId()
Gets the value of the jobId property.JobType.Log
getLog()
Gets the value of the log property.String
getPriority()
Gets the value of the priority property.XMLGregorianCalendar
getStarted()
Gets the value of the started property.String
getStatus()
Gets the value of the status property.List<JobType>
getSubJob()
Gets the value of the subJob property.Integer
getTotalSteps()
Gets the value of the totalSteps property.String
getType()
Gets the value of the type property.String
getUser()
Gets the value of the user property.JobType.Waiting
getWaiting()
Gets the value of the waiting property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
boolean
isSetCurrentStep()
boolean
isSetData()
boolean
isSetFinished()
boolean
isSetJobId()
boolean
isSetLog()
boolean
isSetPriority()
boolean
isSetStarted()
boolean
isSetStatus()
boolean
isSetSubJob()
boolean
isSetTotalSteps()
boolean
isSetType()
boolean
isSetUser()
boolean
isSetWaiting()
void
setCurrentStep(JobType.CurrentStep value)
Sets the value of the currentStep property.void
setFinished(XMLGregorianCalendar value)
Sets the value of the finished property.void
setJobId(String value)
Sets the value of the jobId property.void
setLog(JobType.Log value)
Sets the value of the log property.void
setPriority(String value)
Sets the value of the priority property.void
setStarted(XMLGregorianCalendar value)
Sets the value of the started property.void
setStatus(String value)
Sets the value of the status property.void
setTotalSteps(Integer value)
Sets the value of the totalSteps property.void
setType(String value)
Sets the value of the type property.void
setUser(String value)
Sets the value of the user property.void
setWaiting(JobType.Waiting value)
Sets the value of the waiting property.void
unsetData()
void
unsetSubJob()
JobType
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
JobType
withCurrentStep(JobType.CurrentStep value)
JobType
withData(JobType.Data... values)
JobType
withData(Collection<JobType.Data> values)
JobType
withFinished(XMLGregorianCalendar value)
JobType
withJobId(String value)
JobType
withLog(JobType.Log value)
JobType
withPriority(String value)
JobType
withStarted(XMLGregorianCalendar value)
JobType
withStatus(String value)
JobType
withSubJob(JobType... values)
JobType
withSubJob(Collection<JobType> values)
JobType
withTotalSteps(Integer value)
JobType
withType(String value)
JobType
withUser(String value)
JobType
withWaiting(JobType.Waiting value)
-
-
-
Field Detail
-
jobId
protected String jobId
-
user
protected String user
-
started
protected XMLGregorianCalendar started
-
finished
protected XMLGregorianCalendar finished
-
status
protected String status
-
type
protected String type
-
priority
protected String priority
-
waiting
protected JobType.Waiting waiting
-
currentStep
protected JobType.CurrentStep currentStep
-
data
protected List<JobType.Data> data
-
totalSteps
protected Integer totalSteps
-
log
protected JobType.Log log
-
-
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 isString
-
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 isString
-
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 isXMLGregorianCalendar
-
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 isXMLGregorianCalendar
-
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 isString
-
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 isString
-
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 isString
-
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 isJobType.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 isJobType.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
-
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 isInteger
-
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 isJobType.Log
-
isSetLog
public boolean isSetLog()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyTo
in interfaceorg.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 interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withStarted
public JobType withStarted(XMLGregorianCalendar value)
-
withFinished
public JobType withFinished(XMLGregorianCalendar value)
-
withSubJob
public JobType withSubJob(Collection<JobType> values)
-
withWaiting
public JobType withWaiting(JobType.Waiting value)
-
withCurrentStep
public JobType withCurrentStep(JobType.CurrentStep value)
-
withData
public JobType withData(JobType.Data... values)
-
withData
public JobType withData(Collection<JobType.Data> values)
-
withLog
public JobType withLog(JobType.Log value)
-
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 interfaceorg.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 interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-