Class JobTaskType
- 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 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Java class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected String
protected String
protected Integer
protected JobTaskProgressType
protected String
protected int
protected List<JobTaskType.SubStep>
protected List<JobTaskType>
protected XMLGregorianCalendar
protected Integer
-
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) boolean
boolean
equals
(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) int
Gets the value of the attempts property.Gets the value of the description property.Gets the value of the errorMessage property.int
getId()
Gets the value of the id property.Gets the value of the progress property.Gets the value of the status property.int
getStep()
Gets the value of the step property.Gets the value of the subStep property.Gets the value of the subTask property.Gets the value of the timestamp property.Gets the value of the totalSubTasks property.int
hashCode()
int
hashCode
(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) boolean
boolean
boolean
boolean
isSetId()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
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
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.toString()
void
unsetId()
void
void
visit
(com.kscs.util.jaxb.PropertyVisitor _visitor_) withAttempts
(int value) Sets the value of the attempts property.withDescription
(String value) Sets the value of the description property.withErrorMessage
(String value) Sets the value of the errorMessage property.withId
(int value) Sets the value of the id property.withProgress
(JobTaskProgressType value) Sets the value of the progress property.withStatus
(String value) Sets the value of the status property.withStep
(int value) Sets the value of the step property.withSubStep
(JobTaskType.SubStep... values) Adds objects to the list of SubStep using add methodwithSubStep
(Collection<JobTaskType.SubStep> values) Adds objects to the list of SubStep using addAll methodwithSubTask
(JobTaskType... values) Adds objects to the list of SubTask using add methodwithSubTask
(Collection<JobTaskType> values) Adds objects to the list of SubTask using addAll methodSets the value of the timestamp property.withTotalSubTasks
(Integer value) Sets the value of the totalSubTasks property.
-
Field Details
-
step
protected int step -
attempts
protected int attempts -
status
-
timestamp
-
description
-
progress
-
subStep
-
errorMessage
-
totalSubTasks
-
subTask
-
id
-
-
Constructor Details
-
JobTaskType
public JobTaskType()
-
-
Method Details
-
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
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() -
getTimestamp
Gets the value of the timestamp property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTimestamp
Sets the value of the timestamp property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
isSetTimestamp
public boolean isSetTimestamp() -
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
isSetDescription
public boolean isSetDescription() -
getProgress
Gets the value of the progress property.- Returns:
- possible object is
JobTaskProgressType
-
setProgress
Sets the value of the progress property.- Parameters:
value
- allowed object isJobTaskProgressType
-
isSetProgress
public boolean isSetProgress() -
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
- Returns:
- The value of the subStep property.
-
isSetSubStep
public boolean isSetSubStep() -
unsetSubStep
public void unsetSubStep() -
getErrorMessage
Gets the value of the errorMessage property.- Returns:
- possible object is
String
-
setErrorMessage
Sets the value of the errorMessage property.- Parameters:
value
- allowed object isString
-
isSetErrorMessage
public boolean isSetErrorMessage() -
getTotalSubTasks
Gets the value of the totalSubTasks property.- Returns:
- possible object is
Integer
-
setTotalSubTasks
Sets the value of the totalSubTasks property.- Parameters:
value
- allowed object isInteger
-
isSetTotalSubTasks
public boolean isSetTotalSubTasks() -
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
- Returns:
- The value of the subTask property.
-
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() -
clone
-
copyTo
- Specified by:
copyTo
in 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:
copyTo
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
withStep
Sets the value of the step property.- Parameters:
value
- allowed object is int- Returns:
- The class instance
-
withAttempts
Sets the value of the attempts property.- Parameters:
value
- allowed object is int- Returns:
- The class instance
-
withStatus
Sets the value of the status property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withTimestamp
Sets the value of the timestamp property.- Parameters:
value
- allowed object isXMLGregorianCalendar
- Returns:
- The class instance
-
withDescription
Sets the value of the description property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withProgress
Sets the value of the progress property.- Parameters:
value
- allowed object isJobTaskProgressType
- Returns:
- The class instance
-
withSubStep
Adds objects to the list of SubStep using add method- Parameters:
values
- objects to add to the list SubStep- Returns:
- The class instance
-
withSubStep
Adds objects to the list of SubStep using addAll method- Parameters:
values
- objects to add to the list SubStep- Returns:
- The class instance
-
withErrorMessage
Sets the value of the errorMessage property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withTotalSubTasks
Sets the value of the totalSubTasks property.- Parameters:
value
- allowed object isInteger
- Returns:
- The class instance
-
withSubTask
Adds objects to the list of SubTask using add method- Parameters:
values
- objects to add to the list SubTask- Returns:
- The class instance
-
withSubTask
Adds objects to the list of SubTask using addAll method- Parameters:
values
- objects to add to the list SubTask- Returns:
- The class instance
-
withId
Sets the value of the id property.- Parameters:
value
- allowed object is int- 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:
equals
in 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:
hashCode
in 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:
append
in 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:
appendFields
in interfaceorg.jvnet.jaxb.lang.ToString
-