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