com.concordfax.WSError Maven / Gradle / Ivy
The newest version!
package com.concordfax;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for WSError complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="WSError">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="ErrorString" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "WSError", propOrder = {
"errorCode",
"errorString"
})
public class WSError {
@XmlElement(name = "ErrorCode")
protected int errorCode;
@XmlElement(name = "ErrorString", required = true)
protected String errorString;
/**
* Gets the value of the errorCode property.
*
*/
public int getErrorCode() {
return errorCode;
}
/**
* Sets the value of the errorCode property.
*
*/
public void setErrorCode(int value) {
this.errorCode = value;
}
/**
* Gets the value of the errorString property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorString() {
return errorString;
}
/**
* Sets the value of the errorString property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorString(String value) {
this.errorString = value;
}
}