001
002 package org.oasis_open.docs.wsn.b_2;
003
004 import javax.xml.bind.annotation.XmlAccessType;
005 import javax.xml.bind.annotation.XmlAccessorType;
006 import javax.xml.bind.annotation.XmlAnyElement;
007 import javax.xml.bind.annotation.XmlElement;
008 import javax.xml.bind.annotation.XmlType;
009 import org.w3._2005._08.addressing.EndpointReferenceType;
010 import org.w3c.dom.Element;
011
012
013 /**
014 * <p>Java class for NotificationMessageHolderType complex type.
015 *
016 * <p>The following schema fragment specifies the expected content contained within this class.
017 *
018 * <pre>
019 * <complexType name="NotificationMessageHolderType">
020 * <complexContent>
021 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
022 * <sequence>
023 * <element ref="{http://docs.oasis-open.org/wsn/b-2}SubscriptionReference" minOccurs="0"/>
024 * <element ref="{http://docs.oasis-open.org/wsn/b-2}Topic" minOccurs="0"/>
025 * <element ref="{http://docs.oasis-open.org/wsn/b-2}ProducerReference" minOccurs="0"/>
026 * <element name="Message">
027 * <complexType>
028 * <complexContent>
029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030 * <sequence>
031 * <any/>
032 * </sequence>
033 * </restriction>
034 * </complexContent>
035 * </complexType>
036 * </element>
037 * </sequence>
038 * </restriction>
039 * </complexContent>
040 * </complexType>
041 * </pre>
042 *
043 *
044 */
045 @XmlAccessorType(XmlAccessType.FIELD)
046 @XmlType(name = "NotificationMessageHolderType", propOrder = {
047 "subscriptionReference",
048 "topic",
049 "producerReference",
050 "message"
051 })
052 public class NotificationMessageHolderType {
053
054 @XmlElement(name = "SubscriptionReference")
055 protected EndpointReferenceType subscriptionReference;
056 @XmlElement(name = "Topic")
057 protected TopicExpressionType topic;
058 @XmlElement(name = "ProducerReference")
059 protected EndpointReferenceType producerReference;
060 @XmlElement(name = "Message", required = true)
061 protected NotificationMessageHolderType.Message message;
062
063 /**
064 * Gets the value of the subscriptionReference property.
065 *
066 * @return
067 * possible object is
068 * {@link EndpointReferenceType }
069 *
070 */
071 public EndpointReferenceType getSubscriptionReference() {
072 return subscriptionReference;
073 }
074
075 /**
076 * Sets the value of the subscriptionReference property.
077 *
078 * @param value
079 * allowed object is
080 * {@link EndpointReferenceType }
081 *
082 */
083 public void setSubscriptionReference(EndpointReferenceType value) {
084 this.subscriptionReference = value;
085 }
086
087 /**
088 * Gets the value of the topic property.
089 *
090 * @return
091 * possible object is
092 * {@link TopicExpressionType }
093 *
094 */
095 public TopicExpressionType getTopic() {
096 return topic;
097 }
098
099 /**
100 * Sets the value of the topic property.
101 *
102 * @param value
103 * allowed object is
104 * {@link TopicExpressionType }
105 *
106 */
107 public void setTopic(TopicExpressionType value) {
108 this.topic = value;
109 }
110
111 /**
112 * Gets the value of the producerReference property.
113 *
114 * @return
115 * possible object is
116 * {@link EndpointReferenceType }
117 *
118 */
119 public EndpointReferenceType getProducerReference() {
120 return producerReference;
121 }
122
123 /**
124 * Sets the value of the producerReference property.
125 *
126 * @param value
127 * allowed object is
128 * {@link EndpointReferenceType }
129 *
130 */
131 public void setProducerReference(EndpointReferenceType value) {
132 this.producerReference = value;
133 }
134
135 /**
136 * Gets the value of the message property.
137 *
138 * @return
139 * possible object is
140 * {@link NotificationMessageHolderType.Message }
141 *
142 */
143 public NotificationMessageHolderType.Message getMessage() {
144 return message;
145 }
146
147 /**
148 * Sets the value of the message property.
149 *
150 * @param value
151 * allowed object is
152 * {@link NotificationMessageHolderType.Message }
153 *
154 */
155 public void setMessage(NotificationMessageHolderType.Message value) {
156 this.message = value;
157 }
158
159
160 /**
161 * <p>Java class for anonymous complex type.
162 *
163 * <p>The following schema fragment specifies the expected content contained within this class.
164 *
165 * <pre>
166 * <complexType>
167 * <complexContent>
168 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
169 * <sequence>
170 * <any/>
171 * </sequence>
172 * </restriction>
173 * </complexContent>
174 * </complexType>
175 * </pre>
176 *
177 *
178 */
179 @XmlAccessorType(XmlAccessType.FIELD)
180 @XmlType(name = "", propOrder = {
181 "any"
182 })
183 public static class Message {
184
185 @XmlAnyElement(lax = true)
186 protected Object any;
187
188 /**
189 * Gets the value of the any property.
190 *
191 * @return
192 * possible object is
193 * {@link Object }
194 * {@link Element }
195 *
196 */
197 public Object getAny() {
198 return any;
199 }
200
201 /**
202 * Sets the value of the any property.
203 *
204 * @param value
205 * allowed object is
206 * {@link Object }
207 * {@link Element }
208 *
209 */
210 public void setAny(Object value) {
211 this.any = value;
212 }
213
214 }
215
216 }