View Javadoc
1   
2   package org.oasis_open.docs.wsn.b_2;
3   
4   import java.math.BigInteger;
5   import java.util.ArrayList;
6   import java.util.HashMap;
7   import java.util.List;
8   import java.util.Map;
9   import javax.xml.bind.annotation.XmlAccessType;
10  import javax.xml.bind.annotation.XmlAccessorType;
11  import javax.xml.bind.annotation.XmlAnyAttribute;
12  import javax.xml.bind.annotation.XmlAnyElement;
13  import javax.xml.bind.annotation.XmlElement;
14  import javax.xml.bind.annotation.XmlRootElement;
15  import javax.xml.bind.annotation.XmlSchemaType;
16  import javax.xml.bind.annotation.XmlType;
17  import javax.xml.namespace.QName;
18  import org.w3c.dom.Element;
19  
20  
21  /**
22   * <p>Java class for anonymous complex type.
23   * 
24   * <p>The following schema fragment specifies the expected content contained within this class.
25   * 
26   * <pre>
27   * &lt;complexType>
28   *   &lt;complexContent>
29   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30   *       &lt;sequence>
31   *         &lt;element name="MaximumNumber" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
32   *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
33   *       &lt;/sequence>
34   *       &lt;anyAttribute/>
35   *     &lt;/restriction>
36   *   &lt;/complexContent>
37   * &lt;/complexType>
38   * </pre>
39   * 
40   * 
41   */
42  @XmlAccessorType(XmlAccessType.FIELD)
43  @XmlType(name = "", propOrder = {
44      "maximumNumber",
45      "any"
46  })
47  @XmlRootElement(name = "GetMessages")
48  public class GetMessages {
49  
50      @XmlElement(name = "MaximumNumber")
51      @XmlSchemaType(name = "nonNegativeInteger")
52      protected BigInteger maximumNumber;
53      @XmlAnyElement(lax = true)
54      protected List<Object> any;
55      @XmlAnyAttribute
56      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
57  
58      /**
59       * Gets the value of the maximumNumber property.
60       * 
61       * @return
62       *     possible object is
63       *     {@link BigInteger }
64       *     
65       */
66      public BigInteger getMaximumNumber() {
67          return maximumNumber;
68      }
69  
70      /**
71       * Sets the value of the maximumNumber property.
72       * 
73       * @param value
74       *     allowed object is
75       *     {@link BigInteger }
76       *     
77       */
78      public void setMaximumNumber(BigInteger value) {
79          this.maximumNumber = value;
80      }
81  
82      /**
83       * Gets the value of the any property.
84       * 
85       * <p>
86       * This accessor method returns a reference to the live list,
87       * not a snapshot. Therefore any modification you make to the
88       * returned list will be present inside the JAXB object.
89       * This is why there is not a <CODE>set</CODE> method for the any property.
90       * 
91       * <p>
92       * For example, to add a new item, do as follows:
93       * <pre>
94       *    getAny().add(newItem);
95       * </pre>
96       * 
97       * 
98       * <p>
99       * Objects of the following type(s) are allowed in the list
100      * {@link Element }
101      * {@link Object }
102      * 
103      * 
104      */
105     public List<Object> getAny() {
106         if (any == null) {
107             any = new ArrayList<Object>();
108         }
109         return this.any;
110     }
111 
112     /**
113      * Gets a map that contains attributes that aren't bound to any typed property on this class.
114      * 
115      * <p>
116      * the map is keyed by the name of the attribute and 
117      * the value is the string value of the attribute.
118      * 
119      * the map returned by this method is live, and you can add new attribute
120      * by updating the map directly. Because of this design, there's no setter.
121      * 
122      * 
123      * @return
124      *     always non-null
125      */
126     public Map<QName, String> getOtherAttributes() {
127         return otherAttributes;
128     }
129 
130 }