/*
* 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.giac.response.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 = {
"header",
"document",
"responseInfo",
"acknowledgement"
})
@XmlRootElement(name = "Message")
public class Message {
@XmlElement(name = "Header", required = true)
protected HeaderType header;
@XmlElement(name = "Document")
protected DocumentType document;
@XmlElement(name = "ResponseInfo")
protected ResponseInfoType responseInfo;
@XmlElement(name = "Acknowledgement")
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 document property.
*
* @return
* possible object is
* {@link DocumentType }
*
*/
public DocumentType getDocument() {
return document;
}
/**
* Sets the value of the document property.
*
* @param value
* allowed object is
* {@link DocumentType }
*
*/
public void setDocument(DocumentType value) {
this.document = value;
}
/**
* Gets the value of the responseInfo property.
*
* @return
* possible object is
* {@link ResponseInfoType }
*
*/
public ResponseInfoType getResponseInfo() {
return responseInfo;
}
/**
* Sets the value of the responseInfo property.
*
* @param value
* allowed object is
* {@link ResponseInfoType }
*
*/
public void setResponseInfo(ResponseInfoType value) {
this.responseInfo = 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;
}
}