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.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import javax.xml.datatype.XMLGregorianCalendar; /** * Request header. * *
Clase Java para HeaderRequest complex type. * *
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. * *
* <complexType name="HeaderRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://traxelektronik.pl/trax/ws/protocol}userName"/>
* <element ref="{http://traxelektronik.pl/trax/ws/protocol}password"/>
* <element name="operationCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="dateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="deviceId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HeaderRequest", propOrder = {
"userName",
"password",
"operationCode",
"dateTime",
"deviceId"
})
@XmlSeeAlso({
CheckSkpStatusRequest.class,
SkpStatusRequest.class,
PingRequest.class,
CheckSkpDataRequest.class,
SkpAlarmRequest.class
})
public class HeaderRequest {
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String userName;
@XmlElement(required = true)
protected String password;
@XmlElement(required = true)
protected String operationCode;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dateTime;
@XmlElement(required = true)
protected String deviceId;
/**
* Obtiene el valor de la propiedad userName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUserName() {
return userName;
}
/**
* Define el valor de la propiedad userName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUserName(String value) {
this.userName = value;
}
/**
* Obtiene el valor de la propiedad password.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPassword() {
return password;
}
/**
* Define el valor de la propiedad password.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPassword(String value) {
this.password = value;
}
/**
* 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 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;
}
}