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 javax.xml.datatype.XMLGregorianCalendar;
13 import javax.xml.ws.wsaddressing.W3CEndpointReference;
14 import org.oasis_open.docs.wsn.b_2.TopicExpressionType;
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "", propOrder = {
41 "publisherReference",
42 "topic",
43 "demand",
44 "creationTime"
45 })
46 @XmlRootElement(name = "PublisherRegistrationRP")
47 public class PublisherRegistrationRP {
48
49 @XmlElement(name = "PublisherReference")
50 protected W3CEndpointReference publisherReference;
51 @XmlElement(name = "Topic")
52 protected List<TopicExpressionType> topic;
53 @XmlElement(name = "Demand")
54 protected boolean demand;
55 @XmlElement(name = "CreationTime")
56 @XmlSchemaType(name = "dateTime")
57 protected XMLGregorianCalendar creationTime;
58
59
60
61
62
63
64
65
66
67 public W3CEndpointReference getPublisherReference() {
68 return publisherReference;
69 }
70
71
72
73
74
75
76
77
78
79 public void setPublisherReference(W3CEndpointReference value) {
80 this.publisherReference = value;
81 }
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105 public List<TopicExpressionType> getTopic() {
106 if (topic == null) {
107 topic = new ArrayList<TopicExpressionType>();
108 }
109 return this.topic;
110 }
111
112
113
114
115
116 public boolean isDemand() {
117 return demand;
118 }
119
120
121
122
123
124 public void setDemand(boolean value) {
125 this.demand = value;
126 }
127
128
129
130
131
132
133
134
135
136 public XMLGregorianCalendar getCreationTime() {
137 return creationTime;
138 }
139
140
141
142
143
144
145
146
147
148 public void setCreationTime(XMLGregorianCalendar value) {
149 this.creationTime = value;
150 }
151
152 }