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.XmlType;
011 import org.oasis_open.docs.wsn.b_2.TopicExpressionType;
012 import org.oasis_open.docs.wsn.t_1.TopicSetType;
013
014
015 /**
016 * <p>Java class for anonymous complex type.
017 *
018 * <p>The following schema fragment specifies the expected content contained within this class.
019 *
020 * <pre>
021 * <complexType>
022 * <complexContent>
023 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
024 * <sequence>
025 * <element ref="{http://docs.oasis-open.org/wsn/b-2}TopicExpression" maxOccurs="unbounded" minOccurs="0"/>
026 * <element ref="{http://docs.oasis-open.org/wsn/b-2}FixedTopicSet" minOccurs="0"/>
027 * <element ref="{http://docs.oasis-open.org/wsn/b-2}TopicExpressionDialect" maxOccurs="unbounded" minOccurs="0"/>
028 * <element ref="{http://docs.oasis-open.org/wsn/t-1}TopicSet" minOccurs="0"/>
029 * <element ref="{http://docs.oasis-open.org/wsn/br-2}RequiresRegistration"/>
030 * </sequence>
031 * </restriction>
032 * </complexContent>
033 * </complexType>
034 * </pre>
035 *
036 *
037 */
038 @XmlAccessorType(XmlAccessType.FIELD)
039 @XmlType(name = "", propOrder = {
040 "topicExpression",
041 "fixedTopicSet",
042 "topicExpressionDialect",
043 "topicSet",
044 "requiresRegistration"
045 })
046 @XmlRootElement(name = "NotificationBrokerRP")
047 public class NotificationBrokerRP {
048
049 @XmlElement(name = "TopicExpression", namespace = "http://docs.oasis-open.org/wsn/b-2")
050 protected List<TopicExpressionType> topicExpression;
051 @XmlElement(name = "FixedTopicSet", namespace = "http://docs.oasis-open.org/wsn/b-2", defaultValue = "true")
052 protected Boolean fixedTopicSet;
053 @XmlElement(name = "TopicExpressionDialect", namespace = "http://docs.oasis-open.org/wsn/b-2")
054 protected List<String> topicExpressionDialect;
055 @XmlElement(name = "TopicSet", namespace = "http://docs.oasis-open.org/wsn/t-1")
056 protected TopicSetType topicSet;
057 @XmlElement(name = "RequiresRegistration")
058 protected boolean requiresRegistration;
059
060 /**
061 * Gets the value of the topicExpression property.
062 *
063 * <p>
064 * This accessor method returns a reference to the live list,
065 * not a snapshot. Therefore any modification you make to the
066 * returned list will be present inside the JAXB object.
067 * This is why there is not a <CODE>set</CODE> method for the topicExpression property.
068 *
069 * <p>
070 * For example, to add a new item, do as follows:
071 * <pre>
072 * getTopicExpression().add(newItem);
073 * </pre>
074 *
075 *
076 * <p>
077 * Objects of the following type(s) are allowed in the list
078 * {@link TopicExpressionType }
079 *
080 *
081 */
082 public List<TopicExpressionType> getTopicExpression() {
083 if (topicExpression == null) {
084 topicExpression = new ArrayList<TopicExpressionType>();
085 }
086 return this.topicExpression;
087 }
088
089 /**
090 * Gets the value of the fixedTopicSet property.
091 *
092 * @return
093 * possible object is
094 * {@link Boolean }
095 *
096 */
097 public Boolean isFixedTopicSet() {
098 return fixedTopicSet;
099 }
100
101 /**
102 * Sets the value of the fixedTopicSet property.
103 *
104 * @param value
105 * allowed object is
106 * {@link Boolean }
107 *
108 */
109 public void setFixedTopicSet(Boolean value) {
110 this.fixedTopicSet = value;
111 }
112
113 /**
114 * Gets the value of the topicExpressionDialect property.
115 *
116 * <p>
117 * This accessor method returns a reference to the live list,
118 * not a snapshot. Therefore any modification you make to the
119 * returned list will be present inside the JAXB object.
120 * This is why there is not a <CODE>set</CODE> method for the topicExpressionDialect property.
121 *
122 * <p>
123 * For example, to add a new item, do as follows:
124 * <pre>
125 * getTopicExpressionDialect().add(newItem);
126 * </pre>
127 *
128 *
129 * <p>
130 * Objects of the following type(s) are allowed in the list
131 * {@link String }
132 *
133 *
134 */
135 public List<String> getTopicExpressionDialect() {
136 if (topicExpressionDialect == null) {
137 topicExpressionDialect = new ArrayList<String>();
138 }
139 return this.topicExpressionDialect;
140 }
141
142 /**
143 * Gets the value of the topicSet property.
144 *
145 * @return
146 * possible object is
147 * {@link TopicSetType }
148 *
149 */
150 public TopicSetType getTopicSet() {
151 return topicSet;
152 }
153
154 /**
155 * Sets the value of the topicSet property.
156 *
157 * @param value
158 * allowed object is
159 * {@link TopicSetType }
160 *
161 */
162 public void setTopicSet(TopicSetType value) {
163 this.topicSet = value;
164 }
165
166 /**
167 * Gets the value of the requiresRegistration property.
168 *
169 */
170 public boolean isRequiresRegistration() {
171 return requiresRegistration;
172 }
173
174 /**
175 * Sets the value of the requiresRegistration property.
176 *
177 */
178 public void setRequiresRegistration(boolean value) {
179 this.requiresRegistration = value;
180 }
181
182 }