package ru.codeinside.esia; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * <p>Java class for HeaderType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="HeaderType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="NodeId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="MessageId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="TimeStamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> * <element name="MessageClass" type="{http://smev.gosuslugi.ru/rev120315}MessageClassType"/> * <element name="PacketIds" type="{http://smev.gosuslugi.ru/rev120315}PacketIdsType" minOccurs="0"/> * </sequence> * <attribute name="actor" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HeaderType", propOrder = { "nodeId", "messageId", "timeStamp", "messageClass", "packetIds" }) public class HeaderType { @XmlElement(name = "NodeId", required = true) protected String nodeId; @XmlElement(name = "MessageId", required = true) protected String messageId; @XmlElement(name = "TimeStamp", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar timeStamp; @XmlElement(name = "MessageClass", required = true) protected MessageClassType messageClass; @XmlElement(name = "PacketIds") protected PacketIdsType packetIds; @XmlAttribute protected String actor; /** * Gets the value of the nodeId property. * * @return * possible object is * {@link String } * */ public String getNodeId() { return nodeId; } /** * Sets the value of the nodeId property. * * @param value * allowed object is * {@link String } * */ public void setNodeId(String value) { this.nodeId = value; } /** * Gets the value of the messageId property. * * @return * possible object is * {@link String } * */ public String getMessageId() { return messageId; } /** * Sets the value of the messageId property. * * @param value * allowed object is * {@link String } * */ public void setMessageId(String value) { this.messageId = value; } /** * Gets the value of the timeStamp property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getTimeStamp() { return timeStamp; } /** * Sets the value of the timeStamp property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setTimeStamp(XMLGregorianCalendar value) { this.timeStamp = value; } /** * Gets the value of the messageClass property. * * @return * possible object is * {@link MessageClassType } * */ public MessageClassType getMessageClass() { return messageClass; } /** * Sets the value of the messageClass property. * * @param value * allowed object is * {@link MessageClassType } * */ public void setMessageClass(MessageClassType value) { this.messageClass = value; } /** * Gets the value of the packetIds property. * * @return * possible object is * {@link PacketIdsType } * */ public PacketIdsType getPacketIds() { return packetIds; } /** * Sets the value of the packetIds property. * * @param value * allowed object is * {@link PacketIdsType } * */ public void setPacketIds(PacketIdsType value) { this.packetIds = value; } /** * Gets the value of the actor property. * * @return * possible object is * {@link String } * */ public String getActor() { return actor; } /** * Sets the value of the actor property. * * @param value * allowed object is * {@link String } * */ public void setActor(String value) { this.actor = value; } }