package trax.skp5; 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.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * Response header. * *
Clase Java para HeaderResponse complex type. * *
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. * *
* <complexType name="HeaderResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="operationCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="dateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element ref="{http://traxelektronik.pl/trax/ws/protocol}statusCode"/>
* <element ref="{http://traxelektronik.pl/trax/ws/protocol}statusText"/>
* <element name="deviceId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HeaderResponse", propOrder = {
"operationCode",
"dateTime",
"statusCode",
"statusText",
"deviceId"
})
@XmlSeeAlso({
CheckSkpStatusResponse.class,
Response.class,
CheckSkpDataResponse.class
})
public class HeaderResponse {
@XmlElement(required = true)
protected String operationCode;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dateTime;
protected int statusCode;
@XmlElement(required = true, nillable = true)
protected String statusText;
@XmlElement(required = true)
protected String deviceId;
/**
* Obtiene el valor de la propiedad operationCode.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOperationCode() {
return operationCode;
}
/**
* Define el valor de la propiedad operationCode.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOperationCode(String value) {
this.operationCode = value;
}
/**
* Obtiene el valor de la propiedad dateTime.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDateTime() {
return dateTime;
}
/**
* Define el valor de la propiedad dateTime.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDateTime(XMLGregorianCalendar value) {
this.dateTime = value;
}
/**
* Obtiene el valor de la propiedad statusCode.
*
*/
public int getStatusCode() {
return statusCode;
}
/**
* Define el valor de la propiedad statusCode.
*
*/
public void setStatusCode(int value) {
this.statusCode = value;
}
/**
* Request status description.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatusText() {
return statusText;
}
/**
* Define el valor de la propiedad statusText.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatusText(String value) {
this.statusText = value;
}
/**
* Obtiene el valor de la propiedad deviceId.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDeviceId() {
return deviceId;
}
/**
* Define el valor de la propiedad deviceId.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDeviceId(String value) {
this.deviceId = value;
}
}