001
002 package org.oasis_open.docs.wsn.br_2;
003
004 import java.util.ArrayList;
005 import java.util.List;
006 import javax.xml.bind.annotation.XmlAccessType;
007 import javax.xml.bind.annotation.XmlAccessorType;
008 import javax.xml.bind.annotation.XmlElement;
009 import javax.xml.bind.annotation.XmlRootElement;
010 import javax.xml.bind.annotation.XmlSchemaType;
011 import javax.xml.bind.annotation.XmlType;
012 import org.oasis_open.docs.wsn.b_2.TopicExpressionType;
013 import org.oasis_open.docs.wsn.t_1.TopicSetType;
014
015
016 /**
017 * <p>Java class for anonymous complex type.
018 *
019 * <p>The following schema fragment specifies the expected content contained within this class.
020 *
021 * <pre>
022 * <complexType>
023 * <complexContent>
024 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
025 * <sequence>
026 * <element ref="{http://docs.oasis-open.org/wsn/b-2}TopicExpression" maxOccurs="unbounded" minOccurs="0"/>
027 * <element ref="{http://docs.oasis-open.org/wsn/b-2}FixedTopicSet" minOccurs="0"/>
028 * <element ref="{http://docs.oasis-open.org/wsn/b-2}TopicExpressionDialect" maxOccurs="unbounded" minOccurs="0"/>
029 * <element ref="{http://docs.oasis-open.org/wsn/t-1}TopicSet" minOccurs="0"/>
030 * <element ref="{http://docs.oasis-open.org/wsn/br-2}RequiresRegistration"/>
031 * </sequence>
032 * </restriction>
033 * </complexContent>
034 * </complexType>
035 * </pre>
036 *
037 *
038 */
039 @XmlAccessorType(XmlAccessType.FIELD)
040 @XmlType(name = "", propOrder = {
041 "topicExpression",
042 "fixedTopicSet",
043 "topicExpressionDialect",
044 "topicSet",
045 "requiresRegistration"
046 })
047 @XmlRootElement(name = "NotificationBrokerRP")
048 public class NotificationBrokerRP {
049
050 @XmlElement(name = "TopicExpression", namespace = "http://docs.oasis-open.org/wsn/b-2")
051 protected List<TopicExpressionType> topicExpression;
052 @XmlElement(name = "FixedTopicSet", namespace = "http://docs.oasis-open.org/wsn/b-2", defaultValue = "true")
053 protected Boolean fixedTopicSet;
054 @XmlElement(name = "TopicExpressionDialect", namespace = "http://docs.oasis-open.org/wsn/b-2")
055 @XmlSchemaType(name = "anyURI")
056 protected List<String> topicExpressionDialect;
057 @XmlElement(name = "TopicSet", namespace = "http://docs.oasis-open.org/wsn/t-1")
058 protected TopicSetType topicSet;
059 @XmlElement(name = "RequiresRegistration")
060 protected boolean requiresRegistration;
061
062 /**
063 * Gets the value of the topicExpression property.
064 *
065 * <p>
066 * This accessor method returns a reference to the live list,
067 * not a snapshot. Therefore any modification you make to the
068 * returned list will be present inside the JAXB object.
069 * This is why there is not a <CODE>set</CODE> method for the topicExpression property.
070 *
071 * <p>
072 * For example, to add a new item, do as follows:
073 * <pre>
074 * getTopicExpression().add(newItem);
075 * </pre>
076 *
077 *
078 * <p>
079 * Objects of the following type(s) are allowed in the list
080 * {@link TopicExpressionType }
081 *
082 *
083 */
084 public List<TopicExpressionType> getTopicExpression() {
085 if (topicExpression == null) {
086 topicExpression = new ArrayList<TopicExpressionType>();
087 }
088 return this.topicExpression;
089 }
090
091 /**
092 * Gets the value of the fixedTopicSet property.
093 *
094 * @return
095 * possible object is
096 * {@link Boolean }
097 *
098 */
099 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 }