View Javadoc
1   /**
2    * This Source Code Form is subject to the terms of the Mozilla Public
3    * License, v. 2.0. If a copy of the MPL was not distributed with this
4    * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5    *
6    * If it is not possible or desirable to put the notice in a particular
7    * file, then You may include the notice in a location (such as a LICENSE
8    * file in a relevant directory) where a recipient would be likely to look
9    * for such a notice.
10  
11   * 
12   */
13   
14  /*  ---------------------------------------------------------------------------
15   *  U.S. Government, Department of the Army
16   *  Army Materiel Command
17   *  Research Development Engineering Command
18   *  Communications Electronics Research Development and Engineering Center
19   *  ---------------------------------------------------------------------------
20   */
21  
22  package org.oasis_open.docs.wsdm.mows_2;
23  
24  import java.util.ArrayList;
25  import java.util.HashMap;
26  import java.util.List;
27  import java.util.Map;
28  import javax.xml.bind.annotation.XmlAccessType;
29  import javax.xml.bind.annotation.XmlAccessorType;
30  import javax.xml.bind.annotation.XmlAnyAttribute;
31  import javax.xml.bind.annotation.XmlAnyElement;
32  import javax.xml.bind.annotation.XmlAttribute;
33  import javax.xml.bind.annotation.XmlElement;
34  import javax.xml.bind.annotation.XmlRootElement;
35  import javax.xml.bind.annotation.XmlSchemaType;
36  import javax.xml.bind.annotation.XmlType;
37  import java.util.Calendar;
38  import javax.xml.namespace.QName;
39  import org.w3c.dom.Element;
40  
41  
42  /**
43   * <p>Java class for anonymous complex type.
44   * 
45   * <p>The following schema fragment specifies the expected content contained within this class.
46   * 
47   * <pre>
48   * &lt;complexType>
49   *   &lt;complexContent>
50   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51   *       &lt;sequence>
52   *         &lt;element name="Request" type="{http://docs.oasis-open.org/wsdm/mows-2.xsd}MessageInformationType" minOccurs="0"/>
53   *         &lt;element name="Reply" type="{http://docs.oasis-open.org/wsdm/mows-2.xsd}MessageInformationType" minOccurs="0"/>
54   *         &lt;element name="StateInformation" type="{http://docs.oasis-open.org/wsdm/mows-2.xsd}RequestProcessingStateInformationType"/>
55   *         &lt;any/>
56   *       &lt;/sequence>
57   *       &lt;attribute name="CurrentTime" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
58   *     &lt;/restriction>
59   *   &lt;/complexContent>
60   * &lt;/complexType>
61   * </pre>
62   * 
63   * 
64   */
65  @XmlAccessorType(XmlAccessType.FIELD)
66  @XmlType(name = "", propOrder = {
67      "request",
68      "reply",
69      "stateInformation",
70      "any"
71  })
72  @XmlRootElement(name = "RequestProcessingNotification")
73  public class RequestProcessingNotification {
74  
75      @XmlElement(name = "Request")
76      protected MessageInformationType request;
77      @XmlElement(name = "Reply")
78      protected MessageInformationType reply;
79      @XmlElement(name = "StateInformation", required = true)
80      protected RequestProcessingStateInformationType stateInformation;
81      @XmlAnyElement(lax = true)
82      protected List<Object> any;
83      @XmlAttribute(name = "CurrentTime", required = true)
84      @XmlSchemaType(name = "dateTime")
85      protected Calendar currentTime;
86      @XmlAnyAttribute
87      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
88  
89      /**
90       * Gets the value of the request property.
91       * 
92       * @return
93       *     possible object is
94       *     {@link MessageInformationType }
95       *     
96       */
97      public MessageInformationType getRequest() {
98          return request;
99      }
100 
101     /**
102      * Sets the value of the request property.
103      * 
104      * @param value
105      *     allowed object is
106      *     {@link MessageInformationType }
107      *     
108      */
109     public void setRequest(MessageInformationType value) {
110         this.request = value;
111     }
112 
113     /**
114      * Gets the value of the reply property.
115      * 
116      * @return
117      *     possible object is
118      *     {@link MessageInformationType }
119      *     
120      */
121     public MessageInformationType getReply() {
122         return reply;
123     }
124 
125     /**
126      * Sets the value of the reply property.
127      * 
128      * @param value
129      *     allowed object is
130      *     {@link MessageInformationType }
131      *     
132      */
133     public void setReply(MessageInformationType value) {
134         this.reply = value;
135     }
136 
137     /**
138      * Gets the value of the stateInformation property.
139      * 
140      * @return
141      *     possible object is
142      *     {@link RequestProcessingStateInformationType }
143      *     
144      */
145     public RequestProcessingStateInformationType getStateInformation() {
146         return stateInformation;
147     }
148 
149     /**
150      * Sets the value of the stateInformation property.
151      * 
152      * @param value
153      *     allowed object is
154      *     {@link RequestProcessingStateInformationType }
155      *     
156      */
157     public void setStateInformation(RequestProcessingStateInformationType value) {
158         this.stateInformation = value;
159     }
160 
161     /**
162      * Gets the value of the any property.
163      * 
164      * <p>
165      * This accessor method returns a reference to the live list,
166      * not a snapshot. Therefore any modification you make to the
167      * returned list will be present inside the JAXB object.
168      * This is why there is not a <CODE>set</CODE> method for the any property.
169      * 
170      * <p>
171      * For example, to add a new item, do as follows:
172      * <pre>
173      *    getAny().add(newItem);
174      * </pre>
175      * 
176      * 
177      * <p>
178      * Objects of the following type(s) are allowed in the list
179      * {@link Element }
180      * {@link Object }
181      * 
182      * 
183      */
184     public List<Object> getAny() {
185         if (any == null) {
186             any = new ArrayList<Object>();
187         }
188         return this.any;
189     }
190 
191     /**
192      * Gets the value of the currentTime property.
193      * 
194      * @return
195      *     possible object is
196      *     {@link Calendar }
197      *     
198      */
199     public Calendar getCurrentTime() {
200         return currentTime;
201     }
202 
203     /**
204      * Sets the value of the currentTime property.
205      * 
206      * @param value
207      *     allowed object is
208      *     {@link Calendar }
209      *     
210      */
211     public void setCurrentTime(Calendar value) {
212         this.currentTime = value;
213     }
214 
215     /**
216      * Gets a map that contains attributes that aren't bound to any typed property on this class.
217      * 
218      * <p>
219      * the map is keyed by the name of the attribute and 
220      * the value is the string value of the attribute.
221      * 
222      * the map returned by this method is live, and you can add new attribute
223      * by updating the map directly. Because of this design, there's no setter.
224      * 
225      * 
226      * @return
227      *     always non-null
228      */
229     public Map<QName, String> getOtherAttributes() {
230         return otherAttributes;
231     }
232 
233 }