View Javadoc
1   
2   package org.oasis_open.docs.wsn.b_2;
3   
4   import java.util.ArrayList;
5   import java.util.List;
6   import javax.xml.bind.annotation.XmlAccessType;
7   import javax.xml.bind.annotation.XmlAccessorType;
8   import javax.xml.bind.annotation.XmlAnyElement;
9   import javax.xml.bind.annotation.XmlRootElement;
10  import javax.xml.bind.annotation.XmlType;
11  import org.w3c.dom.Element;
12  
13  
14  /**
15   * <p>Java class for anonymous complex type.
16   * 
17   * <p>The following schema fragment specifies the expected content contained within this class.
18   * 
19   * <pre>
20   * &lt;complexType>
21   *   &lt;complexContent>
22   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
23   *       &lt;sequence>
24   *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
25   *       &lt;/sequence>
26   *     &lt;/restriction>
27   *   &lt;/complexContent>
28   * &lt;/complexType>
29   * </pre>
30   * 
31   * 
32   */
33  @XmlAccessorType(XmlAccessType.FIELD)
34  @XmlType(name = "", propOrder = {
35      "any"
36  })
37  @XmlRootElement(name = "GetCurrentMessageResponse")
38  public class GetCurrentMessageResponse {
39  
40      @XmlAnyElement(lax = true)
41      protected List<Object> any;
42  
43      /**
44       * Gets the value of the any property.
45       * 
46       * <p>
47       * This accessor method returns a reference to the live list,
48       * not a snapshot. Therefore any modification you make to the
49       * returned list will be present inside the JAXB object.
50       * This is why there is not a <CODE>set</CODE> method for the any property.
51       * 
52       * <p>
53       * For example, to add a new item, do as follows:
54       * <pre>
55       *    getAny().add(newItem);
56       * </pre>
57       * 
58       * 
59       * <p>
60       * Objects of the following type(s) are allowed in the list
61       * {@link Element }
62       * {@link Object }
63       * 
64       * 
65       */
66      public List<Object> getAny() {
67          if (any == null) {
68              any = new ArrayList<Object>();
69          }
70          return this.any;
71      }
72  
73  }