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