ch.hsr.mas.oms.domain.dto.ResponseStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oms-api Show documentation
Show all versions of oms-api Show documentation
Order Management System - Client Stubs
The newest version!
package ch.hsr.mas.oms.domain.dto;
import java.io.Serializable;
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;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"status",
"errorCode"
})
@XmlRootElement(name = "responseStatus")
public class ResponseStatus implements Serializable {
private static final long serialVersionUID = 200772108379777171L;
@XmlElement
protected int status;
@XmlElement
protected String errorCode;
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
public String getErrorCode() {
return errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public String toString() {
return ReflectionToStringBuilder.toString(this);
}
}