Class JobTaskType
- java.lang.Object
-
- com.vidispine.generated.JobTaskType
-
- 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 JobTaskType 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 JobTaskType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="JobTaskType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="step" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="attempts" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="progress" type="{http://xml.vidispine.com/schema/vidispine}JobTaskProgressType" minOccurs="0"/> <element name="subStep" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="totalSubTasks" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="subTask" type="{http://xml.vidispine.com/schema/vidispine}JobTaskType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}int" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobTaskType.PropInfo
static class
JobTaskType.SubStep
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected int
attempts
protected String
description
protected String
errorMessage
protected Integer
id
protected JobTaskProgressType
progress
protected String
status
protected int
step
protected List<JobTaskType.SubStep>
subStep
protected List<JobTaskType>
subTask
protected XMLGregorianCalendar
timestamp
protected Integer
totalSubTasks
-
Constructor Summary
Constructors Constructor Description JobTaskType()
-
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)
int
getAttempts()
Gets the value of the attempts property.String
getDescription()
Gets the value of the description property.String
getErrorMessage()
Gets the value of the errorMessage property.int
getId()
Gets the value of the id property.JobTaskProgressType
getProgress()
Gets the value of the progress property.String
getStatus()
Gets the value of the status property.int
getStep()
Gets the value of the step property.List<JobTaskType.SubStep>
getSubStep()
Gets the value of the subStep property.List<JobTaskType>
getSubTask()
Gets the value of the subTask property.XMLGregorianCalendar
getTimestamp()
Gets the value of the timestamp property.Integer
getTotalSubTasks()
Gets the value of the totalSubTasks property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
boolean
isSetAttempts()
boolean
isSetDescription()
boolean
isSetErrorMessage()
boolean
isSetId()
boolean
isSetProgress()
boolean
isSetStatus()
boolean
isSetStep()
boolean
isSetSubStep()
boolean
isSetSubTask()
boolean
isSetTimestamp()
boolean
isSetTotalSubTasks()
void
setAttempts(int value)
Sets the value of the attempts property.void
setDescription(String value)
Sets the value of the description property.void
setErrorMessage(String value)
Sets the value of the errorMessage property.void
setId(int value)
Sets the value of the id property.void
setProgress(JobTaskProgressType value)
Sets the value of the progress property.void
setStatus(String value)
Sets the value of the status property.void
setStep(int value)
Sets the value of the step property.void
setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.void
setTotalSubTasks(Integer value)
Sets the value of the totalSubTasks property.void
unsetId()
void
unsetSubStep()
void
unsetSubTask()
JobTaskType
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
JobTaskType
withAttempts(int value)
JobTaskType
withDescription(String value)
JobTaskType
withErrorMessage(String value)
JobTaskType
withId(int value)
JobTaskType
withProgress(JobTaskProgressType value)
JobTaskType
withStatus(String value)
JobTaskType
withStep(int value)
JobTaskType
withSubStep(JobTaskType.SubStep... values)
JobTaskType
withSubStep(Collection<JobTaskType.SubStep> values)
JobTaskType
withSubTask(JobTaskType... values)
JobTaskType
withSubTask(Collection<JobTaskType> values)
JobTaskType
withTimestamp(XMLGregorianCalendar value)
JobTaskType
withTotalSubTasks(Integer value)
-
-
-
Field Detail
-
step
protected int step
-
attempts
protected int attempts
-
status
protected String status
-
timestamp
protected XMLGregorianCalendar timestamp
-
description
protected String description
-
progress
protected JobTaskProgressType progress
-
subStep
protected List<JobTaskType.SubStep> subStep
-
errorMessage
protected String errorMessage
-
totalSubTasks
protected Integer totalSubTasks
-
subTask
protected List<JobTaskType> subTask
-
id
protected Integer id
-
-
Method Detail
-
getStep
public int getStep()
Gets the value of the step property.
-
setStep
public void setStep(int value)
Sets the value of the step property.
-
isSetStep
public boolean isSetStep()
-
getAttempts
public int getAttempts()
Gets the value of the attempts property.
-
setAttempts
public void setAttempts(int value)
Sets the value of the attempts property.
-
isSetAttempts
public boolean isSetAttempts()
-
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()
-
getTimestamp
public XMLGregorianCalendar getTimestamp()
Gets the value of the timestamp property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTimestamp
public void setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
isSetTimestamp
public boolean isSetTimestamp()
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
isSetDescription
public boolean isSetDescription()
-
getProgress
public JobTaskProgressType getProgress()
Gets the value of the progress property.- Returns:
- possible object is
JobTaskProgressType
-
setProgress
public void setProgress(JobTaskProgressType value)
Sets the value of the progress property.- Parameters:
value
- allowed object isJobTaskProgressType
-
isSetProgress
public boolean isSetProgress()
-
getSubStep
public List<JobTaskType.SubStep> getSubStep()
Gets the value of the subStep 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 subStep property.For example, to add a new item, do as follows:
getSubStep().add(newItem);
Objects of the following type(s) are allowed in the list
JobTaskType.SubStep
-
isSetSubStep
public boolean isSetSubStep()
-
unsetSubStep
public void unsetSubStep()
-
getErrorMessage
public String getErrorMessage()
Gets the value of the errorMessage property.- Returns:
- possible object is
String
-
setErrorMessage
public void setErrorMessage(String value)
Sets the value of the errorMessage property.- Parameters:
value
- allowed object isString
-
isSetErrorMessage
public boolean isSetErrorMessage()
-
getTotalSubTasks
public Integer getTotalSubTasks()
Gets the value of the totalSubTasks property.- Returns:
- possible object is
Integer
-
setTotalSubTasks
public void setTotalSubTasks(Integer value)
Sets the value of the totalSubTasks property.- Parameters:
value
- allowed object isInteger
-
isSetTotalSubTasks
public boolean isSetTotalSubTasks()
-
getSubTask
public List<JobTaskType> getSubTask()
Gets the value of the subTask 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 subTask property.For example, to add a new item, do as follows:
getSubTask().add(newItem);
Objects of the following type(s) are allowed in the list
JobTaskType
-
isSetSubTask
public boolean isSetSubTask()
-
unsetSubTask
public void unsetSubTask()
-
getId
public int getId()
Gets the value of the id property.- Returns:
- possible object is
Integer
-
setId
public void setId(int value)
Sets the value of the id property.- Parameters:
value
- allowed object isInteger
-
isSetId
public boolean isSetId()
-
unsetId
public void unsetId()
-
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
-
withStep
public JobTaskType withStep(int value)
-
withAttempts
public JobTaskType withAttempts(int value)
-
withStatus
public JobTaskType withStatus(String value)
-
withTimestamp
public JobTaskType withTimestamp(XMLGregorianCalendar value)
-
withDescription
public JobTaskType withDescription(String value)
-
withProgress
public JobTaskType withProgress(JobTaskProgressType value)
-
withSubStep
public JobTaskType withSubStep(JobTaskType.SubStep... values)
-
withSubStep
public JobTaskType withSubStep(Collection<JobTaskType.SubStep> values)
-
withErrorMessage
public JobTaskType withErrorMessage(String value)
-
withTotalSubTasks
public JobTaskType withTotalSubTasks(Integer value)
-
withSubTask
public JobTaskType withSubTask(JobTaskType... values)
-
withSubTask
public JobTaskType withSubTask(Collection<JobTaskType> values)
-
withId
public JobTaskType withId(int 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 JobTaskType 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
-
-