/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * Copyright (c) 2013, MPL CodeInside http://codeinside.ru */ package ru.gosuslugi.smev.rev111111; 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.XmlType; import javax.xml.datatype.XMLGregorianCalendar; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HeaderType", propOrder = { "nodeId", "messageId", "timeStamp", "messageClass" }) 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; /** * 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; } }