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 classJobType.CurrentStepJava class for anonymous complex type.static classJobType.DataJava class for anonymous complex type.static classJobType.LogJava class for anonymous complex type.static classJobType.PropInfostatic classJobType.WaitingJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected JobType.CurrentStepcurrentStepprotected List<JobType.Data>dataprotected XMLGregorianCalendarfinishedprotected StringjobIdprotected JobType.Loglogprotected Stringpriorityprotected XMLGregorianCalendarstartedprotected Stringstatusprotected List<JobType>subJobprotected IntegertotalStepsprotected Stringtypeprotected Stringuserprotected JobType.Waitingwaiting
-
Constructor Summary
Constructors Constructor Description JobType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)JobType.CurrentStepgetCurrentStep()Gets the value of the currentStep property.List<JobType.Data>getData()Gets the value of the data property.XMLGregorianCalendargetFinished()Gets the value of the finished property.StringgetJobId()Gets the value of the jobId property.JobType.LoggetLog()Gets the value of the log property.StringgetPriority()Gets the value of the priority property.XMLGregorianCalendargetStarted()Gets the value of the started property.StringgetStatus()Gets the value of the status property.List<JobType>getSubJob()Gets the value of the subJob property.IntegergetTotalSteps()Gets the value of the totalSteps property.StringgetType()Gets the value of the type property.StringgetUser()Gets the value of the user property.JobType.WaitinggetWaiting()Gets the value of the waiting property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)booleanisSetCurrentStep()booleanisSetData()booleanisSetFinished()booleanisSetJobId()booleanisSetLog()booleanisSetPriority()booleanisSetStarted()booleanisSetStatus()booleanisSetSubJob()booleanisSetTotalSteps()booleanisSetType()booleanisSetUser()booleanisSetWaiting()voidsetCurrentStep(JobType.CurrentStep value)Sets the value of the currentStep property.voidsetFinished(XMLGregorianCalendar value)Sets the value of the finished property.voidsetJobId(String value)Sets the value of the jobId property.voidsetLog(JobType.Log value)Sets the value of the log property.voidsetPriority(String value)Sets the value of the priority property.voidsetStarted(XMLGregorianCalendar value)Sets the value of the started property.voidsetStatus(String value)Sets the value of the status property.voidsetTotalSteps(Integer value)Sets the value of the totalSteps property.voidsetType(String value)Sets the value of the type property.voidsetUser(String value)Sets the value of the user property.voidsetWaiting(JobType.Waiting value)Sets the value of the waiting property.voidunsetData()voidunsetSubJob()JobTypevisit(com.kscs.util.jaxb.PropertyVisitor _visitor_)JobTypewithCurrentStep(JobType.CurrentStep value)JobTypewithData(JobType.Data... values)JobTypewithData(Collection<JobType.Data> values)JobTypewithFinished(XMLGregorianCalendar value)JobTypewithJobId(String value)JobTypewithLog(JobType.Log value)JobTypewithPriority(String value)JobTypewithStarted(XMLGregorianCalendar value)JobTypewithStatus(String value)JobTypewithSubJob(JobType... values)JobTypewithSubJob(Collection<JobType> values)JobTypewithTotalSteps(Integer value)JobTypewithType(String value)JobTypewithUser(String value)JobTypewithWaiting(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
setmethod 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
setmethod 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:
copyToin 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:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein 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:
equalsin 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:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-