001
002 package org.oasis_open.docs.wsn.b_2;
003
004 import java.math.BigInteger;
005 import java.util.ArrayList;
006 import java.util.HashMap;
007 import java.util.List;
008 import java.util.Map;
009 import javax.xml.bind.annotation.XmlAccessType;
010 import javax.xml.bind.annotation.XmlAccessorType;
011 import javax.xml.bind.annotation.XmlAnyAttribute;
012 import javax.xml.bind.annotation.XmlAnyElement;
013 import javax.xml.bind.annotation.XmlElement;
014 import javax.xml.bind.annotation.XmlRootElement;
015 import javax.xml.bind.annotation.XmlSchemaType;
016 import javax.xml.bind.annotation.XmlType;
017 import javax.xml.namespace.QName;
018 import org.w3c.dom.Element;
019
020
021 /**
022 * <p>Java class for anonymous complex type.
023 *
024 * <p>The following schema fragment specifies the expected content contained within this class.
025 *
026 * <pre>
027 * <complexType>
028 * <complexContent>
029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030 * <sequence>
031 * <element name="MaximumNumber" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
032 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
033 * </sequence>
034 * <anyAttribute/>
035 * </restriction>
036 * </complexContent>
037 * </complexType>
038 * </pre>
039 *
040 *
041 */
042 @XmlAccessorType(XmlAccessType.FIELD)
043 @XmlType(name = "", propOrder = {
044 "maximumNumber",
045 "any"
046 })
047 @XmlRootElement(name = "GetMessages")
048 public class GetMessages {
049
050 @XmlElement(name = "MaximumNumber")
051 @XmlSchemaType(name = "nonNegativeInteger")
052 protected BigInteger maximumNumber;
053 @XmlAnyElement(lax = true)
054 protected List<Object> any;
055 @XmlAnyAttribute
056 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
057
058 /**
059 * Gets the value of the maximumNumber property.
060 *
061 * @return
062 * possible object is
063 * {@link BigInteger }
064 *
065 */
066 public BigInteger getMaximumNumber() {
067 return maximumNumber;
068 }
069
070 /**
071 * Sets the value of the maximumNumber property.
072 *
073 * @param value
074 * allowed object is
075 * {@link BigInteger }
076 *
077 */
078 public void setMaximumNumber(BigInteger value) {
079 this.maximumNumber = value;
080 }
081
082 /**
083 * Gets the value of the any property.
084 *
085 * <p>
086 * This accessor method returns a reference to the live list,
087 * not a snapshot. Therefore any modification you make to the
088 * returned list will be present inside the JAXB object.
089 * This is why there is not a <CODE>set</CODE> method for the any property.
090 *
091 * <p>
092 * For example, to add a new item, do as follows:
093 * <pre>
094 * getAny().add(newItem);
095 * </pre>
096 *
097 *
098 * <p>
099 * Objects of the following type(s) are allowed in the list
100 * {@link Object }
101 * {@link Element }
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 }