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/>
033 * </sequence>
034 * </restriction>
035 * </complexContent>
036 * </complexType>
037 * </pre>
038 *
039 *
040 */
041 @XmlAccessorType(XmlAccessType.FIELD)
042 @XmlType(name = "", propOrder = {
043 "maximumNumber",
044 "any"
045 })
046 @XmlRootElement(name = "GetMessages")
047 public class GetMessages {
048
049 @XmlElement(name = "MaximumNumber")
050 @XmlSchemaType(name = "nonNegativeInteger")
051 protected BigInteger maximumNumber;
052 @XmlAnyElement(lax = true)
053 protected List<Object> any;
054 @XmlAnyAttribute
055 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
056
057 /**
058 * Gets the value of the maximumNumber property.
059 *
060 * @return
061 * possible object is
062 * {@link BigInteger }
063 *
064 */
065 public BigInteger getMaximumNumber() {
066 return maximumNumber;
067 }
068
069 /**
070 * Sets the value of the maximumNumber property.
071 *
072 * @param value
073 * allowed object is
074 * {@link BigInteger }
075 *
076 */
077 public void setMaximumNumber(BigInteger value) {
078 this.maximumNumber = value;
079 }
080
081 /**
082 * Gets the value of the any property.
083 *
084 * <p>
085 * This accessor method returns a reference to the live list,
086 * not a snapshot. Therefore any modification you make to the
087 * returned list will be present inside the JAXB object.
088 * This is why there is not a <CODE>set</CODE> method for the any property.
089 *
090 * <p>
091 * For example, to add a new item, do as follows:
092 * <pre>
093 * getAny().add(newItem);
094 * </pre>
095 *
096 *
097 * <p>
098 * Objects of the following type(s) are allowed in the list
099 * {@link Object }
100 * {@link Element }
101 *
102 *
103 */
104 public List<Object> getAny() {
105 if (any == null) {
106 any = new ArrayList<Object>();
107 }
108 return this.any;
109 }
110
111 /**
112 * Gets a map that contains attributes that aren't bound to any typed property on this class.
113 *
114 * <p>
115 * the map is keyed by the name of the attribute and
116 * the value is the string value of the attribute.
117 *
118 * the map returned by this method is live, and you can add new attribute
119 * by updating the map directly. Because of this design, there's no setter.
120 *
121 *
122 * @return
123 * always non-null
124 */
125 public Map<QName, String> getOtherAttributes() {
126 return otherAttributes;
127 }
128
129 }