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