Class Job

java.lang.Object
org.javastro.ivoa.entities.uws.Job
All Implemented Interfaces:
com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, Cloneable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public class Job extends Object implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
The complete representation of the state of a job

Java class for JobSummary complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="JobSummary">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="jobId" type="{http://www.ivoa.net/xml/UWS/v1.0}JobIdentifier"/>
         <element name="runId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ownerId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="phase" type="{http://www.ivoa.net/xml/UWS/v1.0}ExecutionPhase"/>
         <element name="quote" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="creationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="startTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="endTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="executionDuration" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="destruction" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element ref="{http://www.ivoa.net/xml/UWS/v1.0}parameters" minOccurs="0"/>
         <element ref="{http://www.ivoa.net/xml/UWS/v1.0}results"/>
         <element name="errorSummary" type="{http://www.ivoa.net/xml/UWS/v1.0}ErrorSummary" minOccurs="0"/>
         <element name="jobInfo" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="version" type="{http://www.ivoa.net/xml/UWS/v1.0}UWSVersion" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • jobId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected String jobId
    • runId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected String runId
      this is a client supplied identifier - the UWS system does nothing other than to return it as part of the description of the job
    • ownerId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected String ownerId
      the owner (creator) of the job - this should be expressed as a string that can be parsed in accordance with IVOA security standards. If there was no authenticated job creator then this should be set to NULL.
    • phase

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected ExecutionPhase phase
      the execution phase - returned at /{jobs}/{job-id}/phase
    • quote

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected ZonedDateTime quote
      A Quote predicts when the job is likely to complete - returned at /{jobs}/{job-id}/quote "don't know" is encoded by setting to the XML null value xsi:nil="true"
    • creationTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected ZonedDateTime creationTime
      Note that the version 1.1 of the specification requires that this element be present. It is optional only in versions 1.x of the schema for backwards compatibility. 2.0+ versions of the schema will make this formally mandatory in an XML sense.
    • startTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected ZonedDateTime startTime
      The instant at which the job started execution.
    • endTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected ZonedDateTime endTime
      The instant at which the job finished execution
    • executionDuration

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected int executionDuration
      The duration (in seconds) for which the job should be allowed to run - a value of 0 is intended to mean unlimited - returned at /{jobs}/{job-id}/executionduration
    • destruction

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected ZonedDateTime destruction
      The time at which the whole job + records + results will be destroyed. returned at /{jobs}/{job-id}/destruction
    • parameters

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected Parameters parameters
      The parameters to the job (where appropriate) can also be retrieved at /{jobs}/{job-id}/parameters
    • results

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected Results results
      The results for the job - can also be retrieved at /{jobs}/{job-id}/results
    • errorSummary

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected ErrorSummary errorSummary
    • jobInfo

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected Job.JobInfo jobInfo
      This is arbitrary information that can be added to the job description by the UWS implementation.
    • version

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected String version
      note that this attribute is actually required by the 1.1 specification - however remains optional in the schema for backwards compatibility. It will be formally required in the next major revision.
    • __cachedModifier__

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected transient Job.Modifier __cachedModifier__
  • Constructor Details

  • Method Details

    • getJobId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String getJobId()
      Gets the value of the jobId property.
      Returns:
      possible object is String
    • setJobId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setJobId(String value)
      Sets the value of the jobId property.
      Parameters:
      value - allowed object is String
    • getRunId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String getRunId()
      this is a client supplied identifier - the UWS system does nothing other than to return it as part of the description of the job
      Returns:
      possible object is String
    • setRunId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setRunId(String value)
      Sets the value of the runId property.
      Parameters:
      value - allowed object is String
      See Also:
    • getOwnerId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String getOwnerId()
      the owner (creator) of the job - this should be expressed as a string that can be parsed in accordance with IVOA security standards. If there was no authenticated job creator then this should be set to NULL.
      Returns:
      possible object is String
    • setOwnerId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setOwnerId(String value)
      Sets the value of the ownerId property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPhase

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ExecutionPhase getPhase()
      the execution phase - returned at /{jobs}/{job-id}/phase
      Returns:
      possible object is ExecutionPhase
    • setPhase

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setPhase(ExecutionPhase value)
      Sets the value of the phase property.
      Parameters:
      value - allowed object is ExecutionPhase
      See Also:
    • getQuote

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ZonedDateTime getQuote()
      A Quote predicts when the job is likely to complete - returned at /{jobs}/{job-id}/quote "don't know" is encoded by setting to the XML null value xsi:nil="true"
      Returns:
      possible object is String
    • setQuote

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setQuote(ZonedDateTime value)
      Sets the value of the quote property.
      Parameters:
      value - allowed object is String
      See Also:
    • getCreationTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ZonedDateTime getCreationTime()
      Note that the version 1.1 of the specification requires that this element be present. It is optional only in versions 1.x of the schema for backwards compatibility. 2.0+ versions of the schema will make this formally mandatory in an XML sense.
      Returns:
      possible object is String
    • setCreationTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setCreationTime(ZonedDateTime value)
      Sets the value of the creationTime property.
      Parameters:
      value - allowed object is String
      See Also:
    • getStartTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ZonedDateTime getStartTime()
      The instant at which the job started execution.
      Returns:
      possible object is String
    • setStartTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setStartTime(ZonedDateTime value)
      Sets the value of the startTime property.
      Parameters:
      value - allowed object is String
      See Also:
    • getEndTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ZonedDateTime getEndTime()
      The instant at which the job finished execution
      Returns:
      possible object is String
    • setEndTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setEndTime(ZonedDateTime value)
      Sets the value of the endTime property.
      Parameters:
      value - allowed object is String
      See Also:
    • getExecutionDuration

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public int getExecutionDuration()
      The duration (in seconds) for which the job should be allowed to run - a value of 0 is intended to mean unlimited - returned at /{jobs}/{job-id}/executionduration
    • setExecutionDuration

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setExecutionDuration(int value)
      Sets the value of the executionDuration property.
    • getDestruction

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ZonedDateTime getDestruction()
      The time at which the whole job + records + results will be destroyed. returned at /{jobs}/{job-id}/destruction
      Returns:
      possible object is String
    • setDestruction

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setDestruction(ZonedDateTime value)
      Sets the value of the destruction property.
      Parameters:
      value - allowed object is String
      See Also:
    • getParameters

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Parameters getParameters()
      The parameters to the job (where appropriate) can also be retrieved at /{jobs}/{job-id}/parameters
      Returns:
      possible object is Parameters
    • setParameters

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setParameters(Parameters value)
      Sets the value of the parameters property.
      Parameters:
      value - allowed object is Parameters
      See Also:
    • getResults

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Results getResults()
      The results for the job - can also be retrieved at /{jobs}/{job-id}/results
      Returns:
      possible object is Results
    • setResults

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setResults(Results value)
      Sets the value of the results property.
      Parameters:
      value - allowed object is Results
      See Also:
    • getErrorSummary

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ErrorSummary getErrorSummary()
      Gets the value of the errorSummary property.
      Returns:
      possible object is ErrorSummary
    • setErrorSummary

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setErrorSummary(ErrorSummary value)
      Sets the value of the errorSummary property.
      Parameters:
      value - allowed object is ErrorSummary
    • getJobInfo

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Job.JobInfo getJobInfo()
      This is arbitrary information that can be added to the job description by the UWS implementation.
      Returns:
      possible object is Job.JobInfo
    • setJobInfo

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setJobInfo(Job.JobInfo value)
      Sets the value of the jobInfo property.
      Parameters:
      value - allowed object is Job.JobInfo
      See Also:
    • getVersion

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String getVersion()
      note that this attribute is actually required by the 1.1 specification - however remains optional in the schema for backwards compatibility. It will be formally required in the next major revision.
      Returns:
      possible object is String
    • setVersion

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setVersion(String value)
      Sets the value of the version property.
      Parameters:
      value - allowed object is String
      See Also:
    • equals

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String toString()
      Overrides:
      toString in class Object
    • append

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString
    • mergeFrom

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void mergeFrom(Object left, Object right)
      Specified by:
      mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
    • mergeFrom

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)
      Specified by:
      mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
    • createNewInstance

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.MergeFrom
    • clone

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Job clone()
      Overrides:
      clone in class Object
    • createCopy

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Job createCopy()
      Specified by:
      createCopy in interface com.kscs.util.jaxb.Copyable
    • createCopy

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Job createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
      Specified by:
      createCopy in interface com.kscs.util.jaxb.PartialCopyable
    • copyExcept

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Job copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree)
      Specified by:
      copyExcept in interface com.kscs.util.jaxb.PartialCopyable
    • copyOnly

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Job copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree)
      Specified by:
      copyOnly in interface com.kscs.util.jaxb.PartialCopyable
    • modifier

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Job.Modifier modifier()
    • copyTo

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> void copyTo(Job.Builder<_B> _other)
      Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.
      Parameters:
      _other - A builder instance to which the state of this object will be copied.
    • newCopyBuilder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> Job.Builder<_B> newCopyBuilder(_B _parentBuilder)
    • newCopyBuilder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Job.Builder<Void> newCopyBuilder()
    • builder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static Job.Builder<Void> builder()
    • copyOf

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> Job.Builder<_B> copyOf(Job _other)
    • copyTo

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> void copyTo(Job.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
      Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.
      Parameters:
      _other - A builder instance to which the state of this object will be copied.
    • newCopyBuilder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> Job.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • newCopyBuilder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Job.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • copyOf

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> Job.Builder<_B> copyOf(Job _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • copyExcept

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static Job.Builder<Void> copyExcept(Job _other, com.kscs.util.jaxb.PropertyTree _propertyTree)
    • copyOnly

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static Job.Builder<Void> copyOnly(Job _other, com.kscs.util.jaxb.PropertyTree _propertyTree)
    • visit

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Job visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)