/*
* 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 java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.namespace.QName;
@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;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* 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 a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}