1
2 package org.oasis_open.docs.wsn.b_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.XmlAnyElement;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlRootElement;
11 import javax.xml.bind.annotation.XmlSchemaType;
12 import javax.xml.bind.annotation.XmlType;
13 import javax.xml.datatype.XMLGregorianCalendar;
14 import javax.xml.ws.wsaddressing.W3CEndpointReference;
15 import org.w3c.dom.Element;
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "", propOrder = {
42 "subscriptionReference",
43 "currentTime",
44 "terminationTime",
45 "any"
46 })
47 @XmlRootElement(name = "SubscribeResponse")
48 public class SubscribeResponse {
49
50 @XmlElement(name = "SubscriptionReference", required = true)
51 protected W3CEndpointReference subscriptionReference;
52 @XmlElement(name = "CurrentTime")
53 @XmlSchemaType(name = "dateTime")
54 protected XMLGregorianCalendar currentTime;
55 @XmlElement(name = "TerminationTime", nillable = true)
56 @XmlSchemaType(name = "dateTime")
57 protected XMLGregorianCalendar terminationTime;
58 @XmlAnyElement(lax = true)
59 protected List<Object> any;
60
61
62
63
64
65
66
67
68
69 public W3CEndpointReference getSubscriptionReference() {
70 return subscriptionReference;
71 }
72
73
74
75
76
77
78
79
80
81 public void setSubscriptionReference(W3CEndpointReference value) {
82 this.subscriptionReference = value;
83 }
84
85
86
87
88
89
90
91
92
93 public XMLGregorianCalendar getCurrentTime() {
94 return currentTime;
95 }
96
97
98
99
100
101
102
103
104
105 public void setCurrentTime(XMLGregorianCalendar value) {
106 this.currentTime = value;
107 }
108
109
110
111
112
113
114
115
116
117 public XMLGregorianCalendar getTerminationTime() {
118 return terminationTime;
119 }
120
121
122
123
124
125
126
127
128
129 public void setTerminationTime(XMLGregorianCalendar value) {
130 this.terminationTime = value;
131 }
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156 public List<Object> getAny() {
157 if (any == null) {
158 any = new ArrayList<Object>();
159 }
160 return this.any;
161 }
162
163 }