Project

General

Profile

Download (8.82 KB) Statistics
| Branch: | Tag: | Revision:
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
6
//
7

    
8

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

    
11
import java.time.ZonedDateTime;
12
import java.util.ArrayList;
13
import java.util.List;
14

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

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

    
24

    
25
/**
26
 * <p>Java class for IdentifyType complex type.
27
 *
28
 * <p>The following schema fragment specifies the expected content contained within this class.
29
 *
30
 * <pre>
31
 * &lt;complexType name="IdentifyType">
32
 *   &lt;complexContent>
33
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34
 *       &lt;sequence>
35
 *         &lt;element name="repositoryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
36
 *         &lt;element name="baseURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
37
 *         &lt;element name="protocolVersion" type="{http://www.openarchives.org/OAI/2.0/}protocolVersionType"/>
38
 *         &lt;element name="adminEmail" type="{http://www.openarchives.org/OAI/2.0/}emailType" maxOccurs="unbounded"/>
39
 *         &lt;element name="earliestDatestamp" type="{http://www.openarchives.org/OAI/2.0/}UTCdatetimeType"/>
40
 *         &lt;element name="deletedRecord" type="{http://www.openarchives.org/OAI/2.0/}deletedRecordType"/>
41
 *         &lt;element name="granularity" type="{http://www.openarchives.org/OAI/2.0/}granularityType"/>
42
 *         &lt;element name="compression" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
43
 *         &lt;element name="description" type="{http://www.openarchives.org/OAI/2.0/}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
44
 *       &lt;/sequence>
45
 *     &lt;/restriction>
46
 *   &lt;/complexContent>
47
 * &lt;/complexType>
48
 * </pre>
49
 *
50
 *
51
 */
52
@XmlAccessorType(XmlAccessType.FIELD)
53
@XmlType(name = "IdentifyType", propOrder = {
54
    "repositoryName",
55
    "baseURL",
56
    "protocolVersion",
57
    "adminEmail",
58
    "earliestDatestamp",
59
    "deletedRecord",
60
    "granularity",
61
    "compression",
62
    "description"
63
})
64
public class Identify {
65

    
66
    @XmlElement(required = true)
67
    protected String repositoryName;
68
    @XmlElement(required = true)
69
    @XmlSchemaType(name = "anyURI")
70
    protected String baseURL;
71
    @XmlElement(required = true)
72
    protected String protocolVersion;
73
    @XmlElement(required = true)
74
    protected List<String> adminEmail = new ArrayList<String>();
75
    @XmlElement(required = true)
76
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
77
    protected ZonedDateTime earliestDatestamp;
78
    @XmlElement(required = true)
79
    protected DeletedRecord deletedRecord;
80
    @XmlElement(required = true)
81
    protected Granularity granularity;
82
    protected List<String> compression = new ArrayList<String>();
83
    protected List<Description> description = new ArrayList<Description>();
84

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
316
}
(9-9/27)