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