001
002 package org.oasis_open.docs.wsn.b_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.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 * </sequence>
030 * </restriction>
031 * </complexContent>
032 * </complexType>
033 * </pre>
034 *
035 *
036 */
037 @XmlAccessorType(XmlAccessType.FIELD)
038 @XmlType(name = "", propOrder = {
039 "topicExpression",
040 "fixedTopicSet",
041 "topicExpressionDialect",
042 "topicSet"
043 })
044 @XmlRootElement(name = "NotificationProducerRP")
045 public class NotificationProducerRP {
046
047 @XmlElement(name = "TopicExpression")
048 protected List<TopicExpressionType> topicExpression;
049 @XmlElement(name = "FixedTopicSet", defaultValue = "true")
050 protected Boolean fixedTopicSet;
051 @XmlElement(name = "TopicExpressionDialect")
052 @XmlSchemaType(name = "anyURI")
053 protected List<String> topicExpressionDialect;
054 @XmlElement(name = "TopicSet", namespace = "http://docs.oasis-open.org/wsn/t-1")
055 protected TopicSetType topicSet;
056
057 /**
058 * Gets the value of the topicExpression property.
059 *
060 * <p>
061 * This accessor method returns a reference to the live list,
062 * not a snapshot. Therefore any modification you make to the
063 * returned list will be present inside the JAXB object.
064 * This is why there is not a <CODE>set</CODE> method for the topicExpression property.
065 *
066 * <p>
067 * For example, to add a new item, do as follows:
068 * <pre>
069 * getTopicExpression().add(newItem);
070 * </pre>
071 *
072 *
073 * <p>
074 * Objects of the following type(s) are allowed in the list
075 * {@link TopicExpressionType }
076 *
077 *
078 */
079 public List<TopicExpressionType> getTopicExpression() {
080 if (topicExpression == null) {
081 topicExpression = new ArrayList<TopicExpressionType>();
082 }
083 return this.topicExpression;
084 }
085
086 /**
087 * Gets the value of the fixedTopicSet property.
088 *
089 * @return
090 * possible object is
091 * {@link Boolean }
092 *
093 */
094 public Boolean isFixedTopicSet() {
095 return fixedTopicSet;
096 }
097
098 /**
099 * 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 }