![JAR search and dependency download from the Maven repository](/logo.png)
com.upcex.xolt.ups.response.jaxb.Error Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.02.27 at 05:13:48 PM EST
//
package com.upcex.xolt.ups.response.jaxb;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{}ErrorSeverity"/>
* <element ref="{}ErrorCode"/>
* <element ref="{}ErrorDescription" minOccurs="0"/>
* <element ref="{}MinimumRetrySeconds" minOccurs="0"/>
* <element ref="{}ErrorLocation" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{}ErrorDigest" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"errorSeverity",
"errorCode",
"errorDescription",
"minimumRetrySeconds",
"errorLocation",
"errorDigest"
})
@XmlRootElement(name = "Error")
public class Error {
@XmlElement(name = "ErrorSeverity", required = true)
protected String errorSeverity;
@XmlElement(name = "ErrorCode", required = true)
protected String errorCode;
@XmlElement(name = "ErrorDescription")
protected String errorDescription;
@XmlElement(name = "MinimumRetrySeconds")
protected String minimumRetrySeconds;
@XmlElement(name = "ErrorLocation")
protected List errorLocation;
@XmlElement(name = "ErrorDigest")
protected List errorDigest;
/**
* Gets the value of the errorSeverity property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorSeverity() {
return errorSeverity;
}
/**
* Sets the value of the errorSeverity property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorSeverity(String value) {
this.errorSeverity = value;
}
/**
* Gets the value of the errorCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorCode() {
return errorCode;
}
/**
* Sets the value of the errorCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorCode(String value) {
this.errorCode = value;
}
/**
* Gets the value of the errorDescription property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorDescription() {
return errorDescription;
}
/**
* Sets the value of the errorDescription property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorDescription(String value) {
this.errorDescription = value;
}
/**
* Gets the value of the minimumRetrySeconds property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMinimumRetrySeconds() {
return minimumRetrySeconds;
}
/**
* Sets the value of the minimumRetrySeconds property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMinimumRetrySeconds(String value) {
this.minimumRetrySeconds = value;
}
/**
* Gets the value of the errorLocation 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 errorLocation property.
*
*
* For example, to add a new item, do as follows:
*
* getErrorLocation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ErrorLocation }
*
*
*/
public List getErrorLocation() {
if (errorLocation == null) {
errorLocation = new ArrayList();
}
return this.errorLocation;
}
/**
* Gets the value of the errorDigest 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 errorDigest property.
*
*
* For example, to add a new item, do as follows:
*
* getErrorDigest().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getErrorDigest() {
if (errorDigest == null) {
errorDigest = new ArrayList();
}
return this.errorDigest;
}
}