//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// 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.11 at 04:38:10 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 MarkdownOptions complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="MarkdownOptions">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="enable-auto-markdown" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="state-factory" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
* <element name="error-count-threshold" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="transport-status-code" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/>
* <element name="exception-class" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/>
* <element name="error-id" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MarkdownOptions", propOrder = {
"enableAutoMarkdown",
"stateFactory",
"errorCountThreshold",
"transportStatusCode",
"exceptionClass",
"errorId"
})
public class MarkdownOptions {
@XmlElement(name = "enable-auto-markdown")
protected boolean enableAutoMarkdown;
@XmlElement(name = "state-factory")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String stateFactory;
@XmlElement(name = "error-count-threshold")
protected Integer errorCountThreshold;
@XmlElement(name = "transport-status-code")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List<String> transportStatusCode;
@XmlElement(name = "exception-class")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List<String> exceptionClass;
@XmlElement(name = "error-id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List<String> errorId;
/**
* Gets the value of the enableAutoMarkdown property.
*
*/
public boolean isEnableAutoMarkdown() {
return enableAutoMarkdown;
}
/**
* Sets the value of the enableAutoMarkdown property.
*
*/
public void setEnableAutoMarkdown(boolean value) {
this.enableAutoMarkdown = value;
}
/**
* Gets the value of the stateFactory property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStateFactory() {
return stateFactory;
}
/**
* Sets the value of the stateFactory property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStateFactory(String value) {
this.stateFactory = value;
}
/**
* Gets the value of the errorCountThreshold property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getErrorCountThreshold() {
return errorCountThreshold;
}
/**
* Sets the value of the errorCountThreshold property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setErrorCountThreshold(Integer value) {
this.errorCountThreshold = value;
}
/**
* Gets the value of the transportStatusCode 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 transportStatusCode property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTransportStatusCode().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getTransportStatusCode() {
if (transportStatusCode == null) {
transportStatusCode = new ArrayList<String>();
}
return this.transportStatusCode;
}
/**
* Gets the value of the exceptionClass 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 exceptionClass property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getExceptionClass().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getExceptionClass() {
if (exceptionClass == null) {
exceptionClass = new ArrayList<String>();
}
return this.exceptionClass;
}
/**
* Gets the value of the errorId 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 errorId property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getErrorId().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getErrorId() {
if (errorId == null) {
errorId = new ArrayList<String>();
}
return this.errorId;
}
}