/* * 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.tower.mvd.clients.common.responseid.message; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) @XmlRootElement(name = "Message") public class Message { @XmlElement(name = "Header", required = true) protected HeaderType header; @XmlElement(name = "Acknowledgement", required = true) protected AcknowledgementType acknowledgement; /** * Gets the value of the header property. * * @return * possible object is * {@link HeaderType } * */ public HeaderType getHeader() { return header; } /** * Sets the value of the header property. * * @param value * allowed object is * {@link HeaderType } * */ public void setHeader(HeaderType value) { this.header = value; } /** * Gets the value of the acknowledgement property. * * @return * possible object is * {@link AcknowledgementType } * */ public AcknowledgementType getAcknowledgement() { return acknowledgement; } /** * Sets the value of the acknowledgement property. * * @param value * allowed object is * {@link AcknowledgementType } * */ public void setAcknowledgement(AcknowledgementType value) { this.acknowledgement = value; } }