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.18 at 06:45:00 PM EDT 
  //
  
  
  package com.ibm.jbatch.jsl.model;
 

Java class for Chunk complex type.

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

 <complexType name="Chunk">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="reader" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemReader"/>
         <element name="processor" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemProcessor" minOccurs="0"/>
         <element name="writer" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemWriter"/>
         <element name="checkpoint-algorithm" type="{http://xmlns.jcp.org/xml/ns/javaee}CheckpointAlgorithm" minOccurs="0"/>
         <element name="skippable-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/>
         <element name="retryable-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/>
         <element name="no-rollback-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/>
       </sequence>
       <attribute name="checkpoint-policy" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="item-count" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="time-limit" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="skip-limit" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="retry-limit" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "Chunk", propOrder = {
     "reader",
     "processor",
     "writer",
     "checkpointAlgorithm",
     "skippableExceptionClasses",
     "retryableExceptionClasses",
     "noRollbackExceptionClasses"
 })
 @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
 public class Chunk {
 
     @XmlElement(required = true)
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected ItemReader reader;
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected ItemProcessor processor;
     @XmlElement(required = true)
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected ItemWriter writer;
     @XmlElement(name = "checkpoint-algorithm")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     @XmlElement(name = "skippable-exception-classes")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     @XmlElement(name = "retryable-exception-classes")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     @XmlElement(name = "no-rollback-exception-classes")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     @XmlAttribute(name = "checkpoint-policy")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected String checkpointPolicy;
     @XmlAttribute(name = "item-count")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected String itemCount;
     @XmlAttribute(name = "time-limit")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected String timeLimit;
     @XmlAttribute(name = "skip-limit")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected String skipLimit;
     @XmlAttribute(name = "retry-limit")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected String retryLimit;

    
Gets the value of the reader property.

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

    
Sets the value of the reader property.

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

    
Gets the value of the processor property.

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

    
Sets the value of the processor property.

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

    
Gets the value of the writer property.

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

    
Sets the value of the writer property.

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

    
Gets the value of the checkpointAlgorithm property.

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

    
Sets the value of the checkpointAlgorithm property.

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

    
Gets the value of the skippableExceptionClasses property.

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

    
Sets the value of the skippableExceptionClasses property.

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

    
Gets the value of the retryableExceptionClasses property.

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

    
Sets the value of the retryableExceptionClasses property.

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

    
Gets the value of the noRollbackExceptionClasses property.

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

    
Sets the value of the noRollbackExceptionClasses property.

Parameters:
value allowed object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
        this. = value;
    }

    
Gets the value of the checkpointPolicy property.

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

    
Sets the value of the checkpointPolicy property.

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

    
Gets the value of the itemCount property.

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

    
Sets the value of the itemCount property.

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

    
Gets the value of the timeLimit property.

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

    
Sets the value of the timeLimit property.

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

    
Gets the value of the skipLimit property.

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

    
Sets the value of the skipLimit property.

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

    
Gets the value of the retryLimit property.

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

    
Sets the value of the retryLimit property.

Parameters:
value allowed object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-18T06:45:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public void setRetryLimit(String value) {
        this. = value;
    }
    /*
     * Appended by build tooling.
     */  
	public String toString() {
	    StringBuffer buf = new StringBuffer(250);
	    String chkAlgStr =  == null ? "null" : .getRef();
	    buf.append("Chunk: checkpointAlgorithm = " + chkAlgStr);
	    buf.append(", skippableExceptions = " + );
	    buf.append(", retryableExceptions = " + );
	    buf.append(", reader = " + );
	    buf.append(", processor = " + );
	    buf.append(", writer = " + );
	    buf.append(", checkpointPolicy = " + );
	    buf.append(", itemCount = " + );
	    buf.append(", timeLimit = " + );
	    buf.append(", skipLimit = " + );
	    buf.append(", retryLimit = " + );
	    buf.append("\n");
	    return buf.toString();
    }
New to GrepCode? Check out our FAQ X