
eu.fispace.api.admin.ASynchResponseMessage Maven / Gradle / Ivy
//
// Este archivo ha sido generado por la arquitectura JavaTM para la implantación de la referencia de enlace (JAXB) XML v2.2.7
// Visite http://java.sun.com/xml/jaxb
// Todas las modificaciones realizadas en este archivo se perderán si se vuelve a compilar el esquema de origen.
// Generado el: 2016.04.10 a las 11:14:20 AM CEST
//
package eu.fispace.api.admin;
import java.io.Serializable;
import javax.validation.constraints.Pattern;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlID;
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;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
/**
* Clase Java para ASynchResponseMessage complex type.
*
*
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
*
* <complexType name="ASynchResponseMessage">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="correlationId" type="{http://www.w3.org/2001/XMLSchema}ID" minOccurs="0"/>
* <element name="status" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="moreInfo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ASynchResponseMessage", propOrder = {
"correlationId",
"status",
"message",
"moreInfo"
})
public abstract class ASynchResponseMessage
implements Serializable, ToString
{
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
@Pattern(regexp = "[[_:A-Za-z]-[:]][[-._:A-Za-z0-9]-[:]]*")
protected String correlationId;
protected Integer status;
protected String message;
protected String moreInfo;
/**
* Obtiene el valor de la propiedad correlationId.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCorrelationId() {
return correlationId;
}
/**
* Define el valor de la propiedad correlationId.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCorrelationId(String value) {
this.correlationId = value;
}
public boolean isSetCorrelationId() {
return (this.correlationId!= null);
}
/**
* Obtiene el valor de la propiedad status.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getStatus() {
return status;
}
/**
* Define el valor de la propiedad status.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setStatus(Integer value) {
this.status = value;
}
public boolean isSetStatus() {
return (this.status!= null);
}
/**
* Obtiene el valor de la propiedad message.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Define el valor de la propiedad message.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
public boolean isSetMessage() {
return (this.message!= null);
}
/**
* Obtiene el valor de la propiedad moreInfo.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMoreInfo() {
return moreInfo;
}
/**
* Define el valor de la propiedad moreInfo.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMoreInfo(String value) {
this.moreInfo = value;
}
public boolean isSetMoreInfo() {
return (this.moreInfo!= null);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
String theCorrelationId;
theCorrelationId = this.getCorrelationId();
strategy.appendField(locator, this, "correlationId", buffer, theCorrelationId);
}
{
Integer theStatus;
theStatus = this.getStatus();
strategy.appendField(locator, this, "status", buffer, theStatus);
}
{
String theMessage;
theMessage = this.getMessage();
strategy.appendField(locator, this, "message", buffer, theMessage);
}
{
String theMoreInfo;
theMoreInfo = this.getMoreInfo();
strategy.appendField(locator, this, "moreInfo", buffer, theMoreInfo);
}
return buffer;
}
public ASynchResponseMessage withCorrelationId(String value) {
setCorrelationId(value);
return this;
}
public ASynchResponseMessage withStatus(Integer value) {
setStatus(value);
return this;
}
public ASynchResponseMessage withMessage(String value) {
setMessage(value);
return this;
}
public ASynchResponseMessage withMoreInfo(String value) {
setMoreInfo(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy