Project

General

Profile

« Previous | Next » 

Revision f1a25720

Added by Katja Luther over 6 years ago

  • ID f1a25720755daa96e8838a617a660dfced7b9f31
  • Parent 23e50194

first implementation for change from joda time to java8 time

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/dto/oaipmh/Request.java
1 1
//
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs 
3
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4
// Any modifications to this file will be lost upon recompilation of the source schema. 
5
// Generated on: 2009.11.02 at 12:58:05 PM GMT 
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs
3
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4
// Any modifications to this file will be lost upon recompilation of the source schema.
5
// Generated on: 2009.11.02 at 12:58:05 PM GMT
6 6
//
7 7

  
8 8

  
9 9
package eu.etaxonomy.cdm.remote.dto.oaipmh;
10 10

  
11
import java.time.ZonedDateTime;
12

  
11 13
import javax.xml.bind.annotation.XmlAccessType;
12 14
import javax.xml.bind.annotation.XmlAccessorType;
13 15
import javax.xml.bind.annotation.XmlAttribute;
......
16 18
import javax.xml.bind.annotation.XmlValue;
17 19
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
18 20

  
19
import org.joda.time.DateTime;
20

  
21 21
import eu.etaxonomy.cdm.jaxb.DateTimeAdapter;
22 22

  
23 23

  
24 24
/**
25
 * Define requestType, indicating the protocol request that 
26
 *       led to the response. Element content is BASE-URL, attributes are arguments 
27
 *       of protocol request, attribute-values are values of arguments of protocol 
25
 * Define requestType, indicating the protocol request that
26
 *       led to the response. Element content is BASE-URL, attributes are arguments
27
 *       of protocol request, attribute-values are values of arguments of protocol
28 28
 *       request
29
 * 
29
 *
30 30
 * <p>Java class for requestType complex type.
31
 * 
31
 *
32 32
 * <p>The following schema fragment specifies the expected content contained within this class.
33
 * 
33
 *
34 34
 * <pre>
35 35
 * &lt;complexType name="requestType">
36 36
 *   &lt;simpleContent>
......
46 46
 *   &lt;/simpleContent>
47 47
 * &lt;/complexType>
48 48
 * </pre>
49
 * 
50
 * 
49
 *
50
 *
51 51
 */
52 52
@XmlAccessorType(XmlAccessType.FIELD)
53 53
@XmlType(name = "requestType", propOrder = {
......
66 66
    protected MetadataPrefix metadataPrefix;
67 67
    @XmlAttribute
68 68
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
69
    protected DateTime from;
69
    protected ZonedDateTime from;
70 70
    @XmlAttribute
71 71
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
72
    protected DateTime until;
72
    protected ZonedDateTime until;
73 73
    @XmlAttribute
74 74
    protected SetSpec set;
75 75
    @XmlAttribute
......
77 77

  
78 78
    /**
79 79
     * Gets the value of the value property.
80
     * 
80
     *
81 81
     * @return
82 82
     *     possible object is
83 83
     *     {@link String }
84
     *     
84
     *
85 85
     */
86 86
    public String getValue() {
87 87
        return value;
......
89 89

  
90 90
    /**
91 91
     * Sets the value of the value property.
92
     * 
92
     *
93 93
     * @param value
94 94
     *     allowed object is
95 95
     *     {@link String }
96
     *     
96
     *
97 97
     */
98 98
    public void setValue(String value) {
99 99
        this.value = value;
......
101 101

  
102 102
    /**
103 103
     * Gets the value of the verb property.
104
     * 
104
     *
105 105
     * @return
106 106
     *     possible object is
107 107
     *     {@link Verb }
108
     *     
108
     *
109 109
     */
110 110
    public Verb getVerb() {
111 111
        return verb;
......
113 113

  
114 114
    /**
115 115
     * Sets the value of the verb property.
116
     * 
116
     *
117 117
     * @param value
118 118
     *     allowed object is
119 119
     *     {@link Verb }
120
     *     
120
     *
121 121
     */
122 122
    public void setVerb(Verb value) {
123 123
        this.verb = value;
......
125 125

  
126 126
    /**
127 127
     * Gets the value of the identifier property.
128
     * 
128
     *
129 129
     * @return
130 130
     *     possible object is
131 131
     *     {@link String }
132
     *     
132
     *
133 133
     */
134 134
    public String getIdentifier() {
135 135
        return identifier;
......
137 137

  
138 138
    /**
139 139
     * Sets the value of the identifier property.
140
     * 
140
     *
141 141
     * @param value
142 142
     *     allowed object is
143 143
     *     {@link String }
144
     *     
144
     *
145 145
     */
146 146
    public void setIdentifier(String value) {
147 147
        this.identifier = value;
......
149 149

  
150 150
    /**
151 151
     * Gets the value of the metadataPrefix property.
152
     * 
152
     *
153 153
     * @return
154 154
     *     possible object is
155 155
     *     {@link MetadataPrefix }
156
     *     
156
     *
157 157
     */
158 158
    public MetadataPrefix getMetadataPrefix() {
159 159
        return metadataPrefix;
......
161 161

  
162 162
    /**
163 163
     * Sets the value of the metadataPrefix property.
164
     * 
164
     *
165 165
     * @param object
166 166
     *     allowed object is
167 167
     *     {@link MetadataPrefix }
168
     *     
168
     *
169 169
     */
170 170
    public void setMetadataPrefix(MetadataPrefix object) {
171 171
        this.metadataPrefix = object;
......
173 173

  
174 174
    /**
175 175
     * Gets the value of the from property.
176
     * 
176
     *
177 177
     * @return
178 178
     *     possible object is
179 179
     *     {@link DateTime }
180
     *     
180
     *
181 181
     */
182
    public DateTime getFrom() {
182
    public ZonedDateTime getFrom() {
183 183
        return from;
184 184
    }
185 185

  
186 186
    /**
187 187
     * Sets the value of the from property.
188
     * 
188
     *
189 189
     * @param dateTime
190 190
     *     allowed object is
191 191
     *     {@link DateTime }
192
     *     
192
     *
193 193
     */
194
    public void setFrom(DateTime dateTime) {
194
    public void setFrom(ZonedDateTime dateTime) {
195 195
        this.from = dateTime;
196 196
    }
197 197

  
198 198
    /**
199 199
     * Gets the value of the until property.
200
     * 
200
     *
201 201
     * @return
202 202
     *     possible object is
203 203
     *     {@link DateTime }
204
     *     
204
     *
205 205
     */
206
    public DateTime getUntil() {
206
    public ZonedDateTime getUntil() {
207 207
        return until;
208 208
    }
209 209

  
210 210
    /**
211 211
     * Sets the value of the until property.
212
     * 
212
     *
213 213
     * @param value
214 214
     *     allowed object is
215 215
     *     {@link DateTime }
216
     *     
216
     *
217 217
     */
218
    public void setUntil(DateTime value) {
218
    public void setUntil(ZonedDateTime value) {
219 219
        this.until = value;
220 220
    }
221 221

  
222 222
    /**
223 223
     * Gets the value of the set property.
224
     * 
224
     *
225 225
     * @return
226 226
     *     possible object is
227 227
     *     {@link SetSpec }
228
     *     
228
     *
229 229
     */
230 230
    public SetSpec getSet() {
231 231
        return set;
......
233 233

  
234 234
    /**
235 235
     * Sets the value of the set property.
236
     * 
236
     *
237 237
     * @param setSpec
238 238
     *     allowed object is
239 239
     *     {@link SetSpec }
240
     *     
240
     *
241 241
     */
242 242
    public void setSet(SetSpec setSpec) {
243 243
        this.set = setSpec;
......
245 245

  
246 246
    /**
247 247
     * Gets the value of the resumptionToken property.
248
     * 
248
     *
249 249
     * @return
250 250
     *     possible object is
251 251
     *     {@link String }
252
     *     
252
     *
253 253
     */
254 254
    public String getResumptionToken() {
255 255
        return resumptionToken;
......
257 257

  
258 258
    /**
259 259
     * Sets the value of the resumptionToken property.
260
     * 
260
     *
261 261
     * @param value
262 262
     *     allowed object is
263 263
     *     {@link String }
264
     *     
264
     *
265 265
     */
266 266
    public void setResumptionToken(String value) {
267 267
        this.resumptionToken = value;

Also available in: Unified diff