1
2 package org.oasis_open.docs.wsn.b_2;
3
4 import java.util.ArrayList;
5 import java.util.List;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlRootElement;
10 import javax.xml.bind.annotation.XmlSchemaType;
11 import javax.xml.bind.annotation.XmlType;
12 import org.oasis_open.docs.wsn.t_1.TopicSetType;
13
14
15 /**
16 * <p>Java class for anonymous complex type.
17 *
18 * <p>The following schema fragment specifies the expected content contained within this class.
19 *
20 * <pre>
21 * <complexType>
22 * <complexContent>
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24 * <sequence>
25 * <element ref="{http://docs.oasis-open.org/wsn/b-2}TopicExpression" maxOccurs="unbounded" minOccurs="0"/>
26 * <element ref="{http://docs.oasis-open.org/wsn/b-2}FixedTopicSet" minOccurs="0"/>
27 * <element ref="{http://docs.oasis-open.org/wsn/b-2}TopicExpressionDialect" maxOccurs="unbounded" minOccurs="0"/>
28 * <element ref="{http://docs.oasis-open.org/wsn/t-1}TopicSet" minOccurs="0"/>
29 * </sequence>
30 * </restriction>
31 * </complexContent>
32 * </complexType>
33 * </pre>
34 *
35 *
36 */
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "", propOrder = {
39 "topicExpression",
40 "fixedTopicSet",
41 "topicExpressionDialect",
42 "topicSet"
43 })
44 @XmlRootElement(name = "NotificationProducerRP")
45 public class NotificationProducerRP {
46
47 @XmlElement(name = "TopicExpression")
48 protected List<TopicExpressionType> topicExpression;
49 @XmlElement(name = "FixedTopicSet", defaultValue = "true")
50 protected Boolean fixedTopicSet;
51 @XmlElement(name = "TopicExpressionDialect")
52 @XmlSchemaType(name = "anyURI")
53 protected List<String> topicExpressionDialect;
54 @XmlElement(name = "TopicSet", namespace = "http://docs.oasis-open.org/wsn/t-1")
55 protected TopicSetType topicSet;
56
57 /**
58 * Gets the value of the topicExpression property.
59 *
60 * <p>
61 * This accessor method returns a reference to the live list,
62 * not a snapshot. Therefore any modification you make to the
63 * returned list will be present inside the JAXB object.
64 * This is why there is not a <CODE>set</CODE> method for the topicExpression property.
65 *
66 * <p>
67 * For example, to add a new item, do as follows:
68 * <pre>
69 * getTopicExpression().add(newItem);
70 * </pre>
71 *
72 *
73 * <p>
74 * Objects of the following type(s) are allowed in the list
75 * {@link TopicExpressionType }
76 *
77 *
78 */
79 public List<TopicExpressionType> getTopicExpression() {
80 if (topicExpression == null) {
81 topicExpression = new ArrayList<TopicExpressionType>();
82 }
83 return this.topicExpression;
84 }
85
86 /**
87 * Gets the value of the fixedTopicSet property.
88 *
89 * @return
90 * possible object is
91 * {@link Boolean }
92 *
93 */
94 public Boolean isFixedTopicSet() {
95 return fixedTopicSet;
96 }
97
98 /**
99 * Sets the value of the fixedTopicSet property.
100 *
101 * @param value
102 * allowed object is
103 * {@link Boolean }
104 *
105 */
106 public void setFixedTopicSet(Boolean value) {
107 this.fixedTopicSet = value;
108 }
109
110 /**
111 * Gets the value of the topicExpressionDialect property.
112 *
113 * <p>
114 * This accessor method returns a reference to the live list,
115 * not a snapshot. Therefore any modification you make to the
116 * returned list will be present inside the JAXB object.
117 * This is why there is not a <CODE>set</CODE> method for the topicExpressionDialect property.
118 *
119 * <p>
120 * For example, to add a new item, do as follows:
121 * <pre>
122 * getTopicExpressionDialect().add(newItem);
123 * </pre>
124 *
125 *
126 * <p>
127 * Objects of the following type(s) are allowed in the list
128 * {@link String }
129 *
130 *
131 */
132 public List<String> getTopicExpressionDialect() {
133 if (topicExpressionDialect == null) {
134 topicExpressionDialect = new ArrayList<String>();
135 }
136 return this.topicExpressionDialect;
137 }
138
139 /**
140 * Gets the value of the topicSet property.
141 *
142 * @return
143 * possible object is
144 * {@link TopicSetType }
145 *
146 */
147 public TopicSetType getTopicSet() {
148 return topicSet;
149 }
150
151 /**
152 * Sets the value of the topicSet property.
153 *
154 * @param value
155 * allowed object is
156 * {@link TopicSetType }
157 *
158 */
159 public void setTopicSet(TopicSetType value) {
160 this.topicSet = value;
161 }
162
163 }