Class 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
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex typestatic classJava class for anonymous complex typestatic classJava class for anonymous complex typestatic classstatic classJava class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JobType.CurrentStepprotected List<JobType.Data>protected XMLGregorianCalendarprotected Stringprotected JobType.Logprotected Stringprotected XMLGregorianCalendarprotected Stringprotected Integerprotected Stringprotected Stringprotected JobType.Waiting -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) clone()copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) booleanbooleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) Gets the value of the currentStep property.getData()Gets the value of the data property.Gets the value of the finished property.getJobId()Gets the value of the jobId property.getLog()Gets the value of the log property.Gets the value of the priority property.Gets the value of the started property.Gets the value of the status property.Gets the value of the subJob property.Gets the value of the totalSteps property.getType()Gets the value of the type property.getUser()Gets the value of the user property.Gets the value of the waiting property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) booleanbooleanbooleanbooleanbooleanisSetLog()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidSets the value of the currentStep property.voidsetFinished(XMLGregorianCalendar value) Sets the value of the finished property.voidSets 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.voidSets the value of the status property.voidsetTotalSteps(Integer value) Sets the value of the totalSteps property.voidSets the value of the type property.voidSets the value of the user property.voidsetWaiting(JobType.Waiting value) Sets the value of the waiting property.toString()voidvoidvisit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Sets the value of the currentStep property.withData(JobType.Data... values) Adds objects to the list of Data using add methodwithData(Collection<JobType.Data> values) Adds objects to the list of Data using addAll methodwithFinished(XMLGregorianCalendar value) Sets the value of the finished property.Sets the value of the jobId property.withLog(JobType.Log value) Sets the value of the log property.withPriority(String value) Sets the value of the priority property.withStarted(XMLGregorianCalendar value) Sets the value of the started property.withStatus(String value) Sets the value of the status property.withSubJob(JobType... values) Adds objects to the list of SubJob using add methodwithSubJob(Collection<JobType> values) Adds objects to the list of SubJob using addAll methodwithTotalSteps(Integer value) Sets the value of the totalSteps property.Sets the value of the type property.Sets the value of the user property.withWaiting(JobType.Waiting value) Sets the value of the waiting property.
-
Field Details
-
jobId
-
user
-
started
-
finished
-
status
-
type
-
subJob
-
priority
-
waiting
-
currentStep
-
data
-
totalSteps
-
log
-
-
Constructor Details
-
JobType
public JobType()
-
-
Method Details
-
getJobId
Gets the value of the jobId property.- Returns:
- possible object is
String
-
setJobId
Sets the value of the jobId property.- Parameters:
value- allowed object isString
-
isSetJobId
public boolean isSetJobId() -
getUser
Gets the value of the user property.- Returns:
- possible object is
String
-
setUser
Sets the value of the user property.- Parameters:
value- allowed object isString
-
isSetUser
public boolean isSetUser() -
getStarted
Gets the value of the started property.- Returns:
- possible object is
XMLGregorianCalendar
-
setStarted
Sets the value of the started property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
isSetStarted
public boolean isSetStarted() -
getFinished
Gets the value of the finished property.- Returns:
- possible object is
XMLGregorianCalendar
-
setFinished
Sets the value of the finished property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
isSetFinished
public boolean isSetFinished() -
getStatus
Gets the value of the status property.- Returns:
- possible object is
String
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isString
-
isSetStatus
public boolean isSetStatus() -
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-
isSetType
public boolean isSetType() -
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- Returns:
- The value of the subJob property.
-
isSetSubJob
public boolean isSetSubJob() -
unsetSubJob
public void unsetSubJob() -
getPriority
Gets the value of the priority property.- Returns:
- possible object is
String
-
setPriority
Sets the value of the priority property.- Parameters:
value- allowed object isString
-
isSetPriority
public boolean isSetPriority() -
getWaiting
Gets the value of the waiting property.- Returns:
- possible object is
JobType.Waiting
-
setWaiting
Sets the value of the waiting property.- Parameters:
value- allowed object isJobType.Waiting
-
isSetWaiting
public boolean isSetWaiting() -
getCurrentStep
Gets the value of the currentStep property.- Returns:
- possible object is
JobType.CurrentStep
-
setCurrentStep
Sets the value of the currentStep property.- Parameters:
value- allowed object isJobType.CurrentStep
-
isSetCurrentStep
public boolean isSetCurrentStep() -
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- Returns:
- The value of the data property.
-
isSetData
public boolean isSetData() -
unsetData
public void unsetData() -
getTotalSteps
Gets the value of the totalSteps property.- Returns:
- possible object is
Integer
-
setTotalSteps
Sets the value of the totalSteps property.- Parameters:
value- allowed object isInteger
-
isSetTotalSteps
public boolean isSetTotalSteps() -
getLog
Gets the value of the log property.- Returns:
- possible object is
JobType.Log
-
setLog
Sets the value of the log property.- Parameters:
value- allowed object isJobType.Log
-
isSetLog
public boolean isSetLog() -
clone
-
copyTo
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) - Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo
-
withJobId
Sets the value of the jobId property.- Parameters:
value- allowed object isString- Returns:
- The class instance
-
withUser
Sets the value of the user property.- Parameters:
value- allowed object isString- Returns:
- The class instance
-
withStarted
Sets the value of the started property.- Parameters:
value- allowed object isXMLGregorianCalendar- Returns:
- The class instance
-
withFinished
Sets the value of the finished property.- Parameters:
value- allowed object isXMLGregorianCalendar- Returns:
- The class instance
-
withStatus
Sets the value of the status property.- Parameters:
value- allowed object isString- Returns:
- The class instance
-
withType
Sets the value of the type property.- Parameters:
value- allowed object isString- Returns:
- The class instance
-
withSubJob
Adds objects to the list of SubJob using add method- Parameters:
values- objects to add to the list SubJob- Returns:
- The class instance
-
withSubJob
Adds objects to the list of SubJob using addAll method- Parameters:
values- objects to add to the list SubJob- Returns:
- The class instance
-
withPriority
Sets the value of the priority property.- Parameters:
value- allowed object isString- Returns:
- The class instance
-
withWaiting
Sets the value of the waiting property.- Parameters:
value- allowed object isJobType.Waiting- Returns:
- The class instance
-
withCurrentStep
Sets the value of the currentStep property.- Parameters:
value- allowed object isJobType.CurrentStep- Returns:
- The class instance
-
withData
Adds objects to the list of Data using add method- Parameters:
values- objects to add to the list Data- Returns:
- The class instance
-
withData
Adds objects to the list of Data using addAll method- Parameters:
values- objects to add to the list Data- Returns:
- The class instance
-
withTotalSteps
Sets the value of the totalSteps property.- Parameters:
value- allowed object isInteger- Returns:
- The class instance
-
withLog
Sets the value of the log property.- Parameters:
value- allowed object isJobType.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:
equalsin interfaceorg.jvnet.jaxb.lang.Equals
-
equals
-
visit
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-