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/Identify.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;
11 12
import java.util.ArrayList;
12 13
import java.util.List;
14

  
13 15
import javax.xml.bind.annotation.XmlAccessType;
14 16
import javax.xml.bind.annotation.XmlAccessorType;
15 17
import javax.xml.bind.annotation.XmlElement;
......
17 19
import javax.xml.bind.annotation.XmlType;
18 20
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
19 21

  
20
import org.joda.time.DateTime;
21

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

  
24 24

  
25 25
/**
26 26
 * <p>Java class for IdentifyType complex type.
27
 * 
27
 *
28 28
 * <p>The following schema fragment specifies the expected content contained within this class.
29
 * 
29
 *
30 30
 * <pre>
31 31
 * &lt;complexType name="IdentifyType">
32 32
 *   &lt;complexContent>
......
46 46
 *   &lt;/complexContent>
47 47
 * &lt;/complexType>
48 48
 * </pre>
49
 * 
50
 * 
49
 *
50
 *
51 51
 */
52 52
@XmlAccessorType(XmlAccessType.FIELD)
53 53
@XmlType(name = "IdentifyType", propOrder = {
......
74 74
    protected List<String> adminEmail = new ArrayList<String>();
75 75
    @XmlElement(required = true)
76 76
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
77
    protected DateTime earliestDatestamp;
77
    protected ZonedDateTime earliestDatestamp;
78 78
    @XmlElement(required = true)
79 79
    protected DeletedRecord deletedRecord;
80 80
    @XmlElement(required = true)
......
84 84

  
85 85
    /**
86 86
     * Gets the value of the repositoryName property.
87
     * 
87
     *
88 88
     * @return
89 89
     *     possible object is
90 90
     *     {@link String }
91
     *     
91
     *
92 92
     */
93 93
    public String getRepositoryName() {
94 94
        return repositoryName;
......
96 96

  
97 97
    /**
98 98
     * Sets the value of the repositoryName property.
99
     * 
99
     *
100 100
     * @param value
101 101
     *     allowed object is
102 102
     *     {@link String }
103
     *     
103
     *
104 104
     */
105 105
    public void setRepositoryName(String value) {
106 106
        this.repositoryName = value;
......
108 108

  
109 109
    /**
110 110
     * Gets the value of the baseURL property.
111
     * 
111
     *
112 112
     * @return
113 113
     *     possible object is
114 114
     *     {@link String }
115
     *     
115
     *
116 116
     */
117 117
    public String getBaseURL() {
118 118
        return baseURL;
......
120 120

  
121 121
    /**
122 122
     * Sets the value of the baseURL property.
123
     * 
123
     *
124 124
     * @param value
125 125
     *     allowed object is
126 126
     *     {@link String }
127
     *     
127
     *
128 128
     */
129 129
    public void setBaseURL(String value) {
130 130
        this.baseURL = value;
......
132 132

  
133 133
    /**
134 134
     * Gets the value of the protocolVersion property.
135
     * 
135
     *
136 136
     * @return
137 137
     *     possible object is
138 138
     *     {@link String }
139
     *     
139
     *
140 140
     */
141 141
    public String getProtocolVersion() {
142 142
        return protocolVersion;
......
144 144

  
145 145
    /**
146 146
     * Sets the value of the protocolVersion property.
147
     * 
147
     *
148 148
     * @param value
149 149
     *     allowed object is
150 150
     *     {@link String }
151
     *     
151
     *
152 152
     */
153 153
    public void setProtocolVersion(String value) {
154 154
        this.protocolVersion = value;
......
156 156

  
157 157
    /**
158 158
     * Gets the value of the adminEmail property.
159
     * 
159
     *
160 160
     * <p>
161 161
     * This accessor method returns a reference to the live list,
162 162
     * not a snapshot. Therefore any modification you make to the
163 163
     * returned list will be present inside the JAXB object.
164 164
     * This is why there is not a <CODE>set</CODE> method for the adminEmail property.
165
     * 
165
     *
166 166
     * <p>
167 167
     * For example, to add a new item, do as follows:
168 168
     * <pre>
169 169
     *    getAdminEmail().add(newItem);
170 170
     * </pre>
171
     * 
172
     * 
171
     *
172
     *
173 173
     * <p>
174 174
     * Objects of the following type(s) are allowed in the list
175 175
     * {@link String }
176
     * 
177
     * 
176
     *
177
     *
178 178
     */
179 179
    public List<String> getAdminEmail() {
180 180
        if (adminEmail == null) {
......
185 185

  
186 186
    /**
187 187
     * Gets the value of the earliestDatestamp property.
188
     * 
188
     *
189 189
     * @return
190 190
     *     possible object is
191 191
     *     {@link DateTime }
192
     *     
192
     *
193 193
     */
194
    public DateTime getEarliestDatestamp() {
194
    public ZonedDateTime getEarliestDatestamp() {
195 195
        return earliestDatestamp;
196 196
    }
197 197

  
198 198
    /**
199 199
     * Sets the value of the earliestDatestamp property.
200
     * 
200
     *
201 201
     * @param dateTime
202 202
     *     allowed object is
203 203
     *     {@link DateTime }
204
     *     
204
     *
205 205
     */
206
    public void setEarliestDatestamp(DateTime dateTime) {
206
    public void setEarliestDatestamp(ZonedDateTime dateTime) {
207 207
        this.earliestDatestamp = dateTime;
208 208
    }
209 209

  
210 210
    /**
211 211
     * Gets the value of the deletedRecord property.
212
     * 
212
     *
213 213
     * @return
214 214
     *     possible object is
215 215
     *     {@link DeletedRecord }
216
     *     
216
     *
217 217
     */
218 218
    public DeletedRecord getDeletedRecord() {
219 219
        return deletedRecord;
......
221 221

  
222 222
    /**
223 223
     * Sets the value of the deletedRecord property.
224
     * 
224
     *
225 225
     * @param value
226 226
     *     allowed object is
227 227
     *     {@link DeletedRecord }
228
     *     
228
     *
229 229
     */
230 230
    public void setDeletedRecord(DeletedRecord value) {
231 231
        this.deletedRecord = value;
......
233 233

  
234 234
    /**
235 235
     * Gets the value of the granularity property.
236
     * 
236
     *
237 237
     * @return
238 238
     *     possible object is
239 239
     *     {@link Granularity }
240
     *     
240
     *
241 241
     */
242 242
    public Granularity getGranularity() {
243 243
        return granularity;
......
245 245

  
246 246
    /**
247 247
     * Sets the value of the granularity property.
248
     * 
248
     *
249 249
     * @param value
250 250
     *     allowed object is
251 251
     *     {@link Granularity }
252
     *     
252
     *
253 253
     */
254 254
    public void setGranularity(Granularity value) {
255 255
        this.granularity = value;
......
257 257

  
258 258
    /**
259 259
     * Gets the value of the compression property.
260
     * 
260
     *
261 261
     * <p>
262 262
     * This accessor method returns a reference to the live list,
263 263
     * not a snapshot. Therefore any modification you make to the
264 264
     * returned list will be present inside the JAXB object.
265 265
     * This is why there is not a <CODE>set</CODE> method for the compression property.
266
     * 
266
     *
267 267
     * <p>
268 268
     * For example, to add a new item, do as follows:
269 269
     * <pre>
270 270
     *    getCompression().add(newItem);
271 271
     * </pre>
272
     * 
273
     * 
272
     *
273
     *
274 274
     * <p>
275 275
     * Objects of the following type(s) are allowed in the list
276 276
     * {@link String }
277
     * 
278
     * 
277
     *
278
     *
279 279
     */
280 280
    public List<String> getCompression() {
281 281
        if (compression == null) {
......
286 286

  
287 287
    /**
288 288
     * Gets the value of the description property.
289
     * 
289
     *
290 290
     * <p>
291 291
     * This accessor method returns a reference to the live list,
292 292
     * not a snapshot. Therefore any modification you make to the
293 293
     * returned list will be present inside the JAXB object.
294 294
     * This is why there is not a <CODE>set</CODE> method for the description property.
295
     * 
295
     *
296 296
     * <p>
297 297
     * For example, to add a new item, do as follows:
298 298
     * <pre>
299 299
     *    getDescription().add(newItem);
300 300
     * </pre>
301
     * 
302
     * 
301
     *
302
     *
303 303
     * <p>
304 304
     * Objects of the following type(s) are allowed in the list
305 305
     * {@link Description }
306
     * 
307
     * 
306
     *
307
     *
308 308
     */
309 309
    public List<Description> getDescription() {
310 310
        if (description == null) {

Also available in: Unified diff