/*
* 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 = "MessageType", propOrder = {
"sender",
"recipient",
"originator",
"typeCode",
"status",
"date",
"exchangeType",
"requestIdRef",
"originRequestIdRef",
"serviceCode",
"caseNumber",
"testMsg"
})
public class MessageType {
@XmlElement(name = "Sender", required = true)
protected OrgExternalType sender;
@XmlElement(name = "Recipient", required = true)
protected OrgExternalType recipient;
@XmlElement(name = "Originator")
protected OrgExternalType originator;
@XmlElement(name = "TypeCode", required = true)
protected TypeCodeType typeCode;
@XmlElement(name = "Status", required = true)
protected StatusType status;
@XmlElement(name = "Date", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar date;
@XmlElement(name = "ExchangeType", required = true)
protected String exchangeType;
@XmlElement(name = "RequestIdRef")
protected String requestIdRef;
@XmlElement(name = "OriginRequestIdRef")
protected String originRequestIdRef;
@XmlElement(name = "ServiceCode")
protected String serviceCode;
@XmlElement(name = "CaseNumber")
protected String caseNumber;
@XmlElement(name = "TestMsg")
protected String testMsg;
/**
* Gets the value of the sender property.
*
* @return
* possible object is
* {@link OrgExternalType }
*
*/
public OrgExternalType getSender() {
return sender;
}
/**
* Sets the value of the sender property.
*
* @param value
* allowed object is
* {@link OrgExternalType }
*
*/
public void setSender(OrgExternalType value) {
this.sender = value;
}
/**
* Gets the value of the recipient property.
*
* @return
* possible object is
* {@link OrgExternalType }
*
*/
public OrgExternalType getRecipient() {
return recipient;
}
/**
* Sets the value of the recipient property.
*
* @param value
* allowed object is
* {@link OrgExternalType }
*
*/
public void setRecipient(OrgExternalType value) {
this.recipient = value;
}
/**
* Gets the value of the originator property.
*
* @return
* possible object is
* {@link OrgExternalType }
*
*/
public OrgExternalType getOriginator() {
return originator;
}
/**
* Sets the value of the originator property.
*
* @param value
* allowed object is
* {@link OrgExternalType }
*
*/
public void setOriginator(OrgExternalType value) {
this.originator = value;
}
/**
* Gets the value of the typeCode property.
*
* @return
* possible object is
* {@link TypeCodeType }
*
*/
public TypeCodeType getTypeCode() {
return typeCode;
}
/**
* Sets the value of the typeCode property.
*
* @param value
* allowed object is
* {@link TypeCodeType }
*
*/
public void setTypeCode(TypeCodeType value) {
this.typeCode = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link StatusType }
*
*/
public StatusType getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link StatusType }
*
*/
public void setStatus(StatusType value) {
this.status = value;
}
/**
* Gets the value of the date property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDate(XMLGregorianCalendar value) {
this.date = value;
}
/**
* Gets the value of the exchangeType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExchangeType() {
return exchangeType;
}
/**
* Sets the value of the exchangeType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExchangeType(String value) {
this.exchangeType = value;
}
/**
* Gets the value of the requestIdRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRequestIdRef() {
return requestIdRef;
}
/**
* Sets the value of the requestIdRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRequestIdRef(String value) {
this.requestIdRef = value;
}
/**
* Gets the value of the originRequestIdRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOriginRequestIdRef() {
return originRequestIdRef;
}
/**
* Sets the value of the originRequestIdRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOriginRequestIdRef(String value) {
this.originRequestIdRef = value;
}
/**
* Gets the value of the serviceCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServiceCode() {
return serviceCode;
}
/**
* Sets the value of the serviceCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServiceCode(String value) {
this.serviceCode = value;
}
/**
* Gets the value of the caseNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCaseNumber() {
return caseNumber;
}
/**
* Sets the value of the caseNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCaseNumber(String value) {
this.caseNumber = value;
}
/**
* Gets the value of the testMsg property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestMsg() {
return testMsg;
}
/**
* Sets the value of the testMsg property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestMsg(String value) {
this.testMsg = value;
}
}