All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsr352.batch.jsl.Chunk Maven / Gradle / Ivy

//
// 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 http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2013.02.15 at 01:29:18 PM EST 
//


package jsr352.batch.jsl;

import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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://batch.jsr352/jsl}ItemReader"/>
 *         <element name="processor" type="{http://batch.jsr352/jsl}ItemProcessor" minOccurs="0"/>
 *         <element name="writer" type="{http://batch.jsr352/jsl}ItemWriter"/>
 *         <element name="checkpoint-algorithm" type="{http://batch.jsr352/jsl}CheckpointAlgorithm" minOccurs="0"/>
 *         <element name="skippable-exception-classes" type="{http://batch.jsr352/jsl}ExceptionClassFilter" minOccurs="0"/>
 *         <element name="retryable-exception-classes" type="{http://batch.jsr352/jsl}ExceptionClassFilter" minOccurs="0"/>
 *         <element name="no-rollback-exception-classes" type="{http://batch.jsr352/jsl}ExceptionClassFilter" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="checkpoint-policy" type="{http://www.w3.org/2001/XMLSchema}string" default="item" />
 *       <attribute name="item-count" type="{http://www.w3.org/2001/XMLSchema}string" default="10" />
 *       <attribute name="time-limit" type="{http://www.w3.org/2001/XMLSchema}string" default="10" />
 *       <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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Chunk", propOrder = { "reader", "processor", "writer", "checkpointAlgorithm", "skippableExceptionClasses", "retryableExceptionClasses", "noRollbackExceptionClasses" }) @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05: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-02-15T01:29:18-05: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-02-15T01:29:18-05: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-02-15T01:29:18-05: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-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") protected CheckpointAlgorithm checkpointAlgorithm; @XmlElement(name = "skippable-exception-classes") @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") protected ExceptionClassFilter skippableExceptionClasses; @XmlElement(name = "retryable-exception-classes") @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") protected ExceptionClassFilter retryableExceptionClasses; @XmlElement(name = "no-rollback-exception-classes") @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") protected ExceptionClassFilter noRollbackExceptionClasses; @XmlAttribute(name = "checkpoint-policy") @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05: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-02-15T01:29:18-05: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-02-15T01:29:18-05: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-02-15T01:29:18-05: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-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") protected String retryLimit; /** * Gets the value of the reader property. * * @return * possible object is * {@link ItemReader } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public ItemReader getReader() { return reader; } /** * Sets the value of the reader property. * * @param value * allowed object is * {@link ItemReader } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setReader(ItemReader value) { this.reader = value; } /** * Gets the value of the processor property. * * @return * possible object is * {@link ItemProcessor } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public ItemProcessor getProcessor() { return processor; } /** * Sets the value of the processor property. * * @param value * allowed object is * {@link ItemProcessor } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setProcessor(ItemProcessor value) { this.processor = value; } /** * Gets the value of the writer property. * * @return * possible object is * {@link ItemWriter } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public ItemWriter getWriter() { return writer; } /** * Sets the value of the writer property. * * @param value * allowed object is * {@link ItemWriter } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setWriter(ItemWriter value) { this.writer = value; } /** * Gets the value of the checkpointAlgorithm property. * * @return * possible object is * {@link CheckpointAlgorithm } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public CheckpointAlgorithm getCheckpointAlgorithm() { return checkpointAlgorithm; } /** * Sets the value of the checkpointAlgorithm property. * * @param value * allowed object is * {@link CheckpointAlgorithm } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setCheckpointAlgorithm(CheckpointAlgorithm value) { this.checkpointAlgorithm = value; } /** * Gets the value of the skippableExceptionClasses property. * * @return * possible object is * {@link ExceptionClassFilter } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public ExceptionClassFilter getSkippableExceptionClasses() { return skippableExceptionClasses; } /** * Sets the value of the skippableExceptionClasses property. * * @param value * allowed object is * {@link ExceptionClassFilter } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setSkippableExceptionClasses(ExceptionClassFilter value) { this.skippableExceptionClasses = value; } /** * Gets the value of the retryableExceptionClasses property. * * @return * possible object is * {@link ExceptionClassFilter } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public ExceptionClassFilter getRetryableExceptionClasses() { return retryableExceptionClasses; } /** * Sets the value of the retryableExceptionClasses property. * * @param value * allowed object is * {@link ExceptionClassFilter } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setRetryableExceptionClasses(ExceptionClassFilter value) { this.retryableExceptionClasses = value; } /** * Gets the value of the noRollbackExceptionClasses property. * * @return * possible object is * {@link ExceptionClassFilter } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public ExceptionClassFilter getNoRollbackExceptionClasses() { return noRollbackExceptionClasses; } /** * Sets the value of the noRollbackExceptionClasses property. * * @param value * allowed object is * {@link ExceptionClassFilter } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setNoRollbackExceptionClasses(ExceptionClassFilter value) { this.noRollbackExceptionClasses = value; } /** * Gets the value of the checkpointPolicy property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public String getCheckpointPolicy() { if (checkpointPolicy == null) { return "item"; } else { return checkpointPolicy; } } /** * Sets the value of the checkpointPolicy property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setCheckpointPolicy(String value) { this.checkpointPolicy = value; } /** * Gets the value of the itemCount property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public String getItemCount() { if (itemCount == null) { return "10"; } else { return itemCount; } } /** * Sets the value of the itemCount property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setItemCount(String value) { this.itemCount = value; } /** * Gets the value of the timeLimit property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public String getTimeLimit() { if (timeLimit == null) { return "10"; } else { return timeLimit; } } /** * Sets the value of the timeLimit property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setTimeLimit(String value) { this.timeLimit = value; } /** * Gets the value of the skipLimit property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public String getSkipLimit() { return skipLimit; } /** * Sets the value of the skipLimit property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setSkipLimit(String value) { this.skipLimit = value; } /** * Gets the value of the retryLimit property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public String getRetryLimit() { return retryLimit; } /** * Sets the value of the retryLimit property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-02-15T01:29:18-05:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public void setRetryLimit(String value) { this.retryLimit = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy