// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-b01-fcs // 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: 2011.08.03 at 06:49:54 AM PDT // package org.ebayopensource.turmeric.common.config; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for RetryOptions complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="RetryOptions"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="app-level-num-retries" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="app-level-retry-handler" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> * <element name="retry-transport-status-code" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/> * <element name="retry-exception-class" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/> * <element name="retry-error-id" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RetryOptions", propOrder = { "appLevelNumRetries", "appLevelRetryHandler", "retryTransportStatusCode", "retryExceptionClass", "retryErrorId" }) public class RetryOptions { @XmlElement(name = "app-level-num-retries") protected Integer appLevelNumRetries; @XmlElement(name = "app-level-retry-handler") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String appLevelRetryHandler; @XmlElement(name = "retry-transport-status-code") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected List<String> retryTransportStatusCode; @XmlElement(name = "retry-exception-class") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected List<String> retryExceptionClass; @XmlElement(name = "retry-error-id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected List<String> retryErrorId; /** * Gets the value of the appLevelNumRetries property. * * @return * possible object is * {@link Integer } * */ public Integer getAppLevelNumRetries() { return appLevelNumRetries; } /** * Sets the value of the appLevelNumRetries property. * * @param value * allowed object is * {@link Integer } * */ public void setAppLevelNumRetries(Integer value) { this.appLevelNumRetries = value; } /** * Gets the value of the appLevelRetryHandler property. * * @return * possible object is * {@link String } * */ public String getAppLevelRetryHandler() { return appLevelRetryHandler; } /** * Sets the value of the appLevelRetryHandler property. * * @param value * allowed object is * {@link String } * */ public void setAppLevelRetryHandler(String value) { this.appLevelRetryHandler = value; } /** * Gets the value of the retryTransportStatusCode property. * * <p> * 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 <CODE>set</CODE> method for the retryTransportStatusCode property. * * <p> * For example, to add a new item, do as follows: * <pre> * getRetryTransportStatusCode().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getRetryTransportStatusCode() { if (retryTransportStatusCode == null) { retryTransportStatusCode = new ArrayList<String>(); } return this.retryTransportStatusCode; } /** * Gets the value of the retryExceptionClass property. * * <p> * 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 <CODE>set</CODE> method for the retryExceptionClass property. * * <p> * For example, to add a new item, do as follows: * <pre> * getRetryExceptionClass().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getRetryExceptionClass() { if (retryExceptionClass == null) { retryExceptionClass = new ArrayList<String>(); } return this.retryExceptionClass; } /** * Gets the value of the retryErrorId property. * * <p> * 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 <CODE>set</CODE> method for the retryErrorId property. * * <p> * For example, to add a new item, do as follows: * <pre> * getRetryErrorId().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getRetryErrorId() { if (retryErrorId == null) { retryErrorId = new ArrayList<String>(); } return this.retryErrorId; } }