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