Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)- 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2013.03.12 at 05:49:49 PM EDT 
  //
  
  
  package com.ibm.jbatch.jsl.model;
 
 import java.util.List;
The type of a job definition, whether concrete or abstract. This is the type of the root element of any JSL document.

Java class for Job complex type.

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

 <complexType name="Job">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="properties" type="{http://xmlns.jcp.org/xml/ns/javaee}Properties" minOccurs="0"/>
         <element name="listeners" type="{http://xmlns.jcp.org/xml/ns/javaee}Listeners" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="decision" type="{http://xmlns.jcp.org/xml/ns/javaee}Decision"/>
           <element name="flow" type="{http://xmlns.jcp.org/xml/ns/javaee}Flow"/>
           <element name="split" type="{http://xmlns.jcp.org/xml/ns/javaee}Split"/>
           <element name="step" type="{http://xmlns.jcp.org/xml/ns/javaee}Step"/>
         </choice>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="parent" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="restartable" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "Job", propOrder = {
     "properties",
     "listeners",
     "executionElements"
 })
 @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
 public class JSLJob {
 
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected JSLProperties properties;
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected Listeners listeners;
     @XmlElements({
         @XmlElement(name = "decision", type = Decision.class),
         @XmlElement(name = "step", type = Step.class),
         @XmlElement(name = "split", type = Split.class),
         @XmlElement(name = "flow", type = Flow.class)
     })
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected List<ExecutionElementexecutionElements;
     @XmlAttribute(name = "id", required = true)
     @XmlID
     @XmlSchemaType(name = "ID")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected String id;
     @XmlAttribute(name = "parent")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected String parent;
     @XmlAttribute(name = "abstract")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected String _abstract;
     @XmlAttribute(name = "restartable")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected String restartable;

    
Gets the value of the properties property.

Returns:
possible object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public JSLProperties getProperties() {
        return ;
    }

    
Sets the value of the properties property.

Parameters:
value allowed object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public void setProperties(JSLProperties value) {
        this. = value;
    }

    
Gets the value of the listeners property.

Returns:
possible object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public Listeners getListeners() {
        return ;
    }

    
Sets the value of the listeners property.

Parameters:
value allowed object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public void setListeners(Listeners value) {
        this. = value;
    }

    
Gets the value of the executionElements 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 executionElements property.

For example, to add a new item, do as follows:

    getExecutionElements().add(newItem);
 

Objects of the following type(s) are allowed in the list

    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
        if ( == null) {
             = new ArrayList<ExecutionElement>();
        }
        return this.;
    }

    
Gets the value of the id property.

Returns:
possible object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public String getId() {
        return ;
    }

    
Sets the value of the id property.

Parameters:
value allowed object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public void setId(String value) {
        this. = value;
    }

    
Gets the value of the parent property.

Returns:
possible object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public String getParent() {
        return ;
    }

    
Sets the value of the parent property.

Parameters:
value allowed object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public void setParent(String value) {
        this. = value;
    }

    
Gets the value of the abstract property.

Returns:
possible object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public String getAbstract() {
        return ;
    }

    
Sets the value of the abstract property.

Parameters:
value allowed object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public void setAbstract(String value) {
        this. = value;
    }

    
Gets the value of the restartable property.

Returns:
possible object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public String getRestartable() {
        return ;
    }

    
Sets the value of the restartable property.

Parameters:
value allowed object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public void setRestartable(String value) {
        this. = value;
    }
    /*
     * Appended by build tooling.
     */ 
	public String toString() {
	    StringBuffer buf = new StringBuffer(100);
	    buf.append("Job: id=" + );
	    buf.append(", restartable=" + );
	    buf.append("\n");
	    buf.append("Properties = " + com.ibm.jbatch.jsl.util.PropertiesToStringHelper.getString());
	    return buf.toString();
    }
New to GrepCode? Check out our FAQ X