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: 2008.06.19 at 11:00:24 AM BST
6 //
7
8
9 package org.gbif.portal.ws.response.gbif;
10
11 import java.math.BigInteger;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlSchemaType;
17 import javax.xml.bind.annotation.XmlType;
18 import javax.xml.datatype.XMLGregorianCalendar;
19 import org.w3._2002._07.owl_.SameAs;
20
21
22 /**
23 * <p>Java class for data-resource complex type.
24 *
25 * <p>The following schema fragment specifies the expected content contained within this class.
26 *
27 * <pre>
28 * <complexType name="data-resource">
29 * <complexContent>
30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31 * <sequence>
32 * <element ref="{http://www.w3.org/2002/07/owl#}sameAs" minOccurs="0"/>
33 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
34 * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
35 * <element name="shortIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
36 * <element name="websiteUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
37 * <element name="logoUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
38 * <element name="rights" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
39 * <element name="citation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
40 * <element name="defaultBasisOfRecord" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
41 * <element name="taxonConceptCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
42 * <element name="speciesCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
43 * <element name="occurrenceCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
44 * <element name="georeferencedOccurrenceCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
45 * <element name="created" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
46 * <element name="modified" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
47 * <element name="deleted" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
48 * <element name="accessPoints" type="{http://portal.gbif.org/ws/response/gbif}access-points" minOccurs="0"/>
49 * <element name="resourceNetworks" type="{http://portal.gbif.org/ws/response/gbif}resource-networks" minOccurs="0"/>
50 * <element name="taxonConcepts" type="{http://portal.gbif.org/ws/response/gbif}taxon-concepts" minOccurs="0"/>
51 * <element name="occurrenceRecords" type="{http://portal.gbif.org/ws/response/gbif}occurrence-records" minOccurs="0"/>
52 * </sequence>
53 * <attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}about"/>
54 * <attribute name="gbifKey" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
55 * </restriction>
56 * </complexContent>
57 * </complexType>
58 * </pre>
59 *
60 *
61 */
62 @XmlAccessorType(XmlAccessType.FIELD)
63 @XmlType(name = "data-resource", propOrder = {
64 "sameAs",
65 "name",
66 "description",
67 "shortIdentifier",
68 "websiteUrl",
69 "logoUrl",
70 "rights",
71 "citation",
72 "defaultBasisOfRecord",
73 "taxonConceptCount",
74 "speciesCount",
75 "occurrenceCount",
76 "georeferencedOccurrenceCount",
77 "created",
78 "modified",
79 "deleted",
80 "accessPoints",
81 "resourceNetworks",
82 "taxonConcepts",
83 "occurrenceRecords"
84 })
85 public class DataResource {
86
87 @XmlElement(namespace = "http://www.w3.org/2002/07/owl#")
88 protected SameAs sameAs;
89 protected String name;
90 protected String description;
91 protected String shortIdentifier;
92 protected String websiteUrl;
93 protected String logoUrl;
94 protected String rights;
95 protected String citation;
96 protected String defaultBasisOfRecord;
97 protected BigInteger taxonConceptCount;
98 protected BigInteger speciesCount;
99 protected BigInteger occurrenceCount;
100 protected BigInteger georeferencedOccurrenceCount;
101 @XmlSchemaType(name = "date")
102 protected XMLGregorianCalendar created;
103 @XmlSchemaType(name = "date")
104 protected XMLGregorianCalendar modified;
105 @XmlSchemaType(name = "date")
106 protected XMLGregorianCalendar deleted;
107 protected AccessPoints accessPoints;
108 protected ResourceNetworks resourceNetworks;
109 protected TaxonConcepts taxonConcepts;
110 protected OccurrenceRecords occurrenceRecords;
111 @XmlAttribute(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
112 @XmlSchemaType(name = "anyURI")
113 protected String about;
114 @XmlAttribute(required = true)
115 protected String gbifKey;
116
117 /**
118 * Gets the value of the sameAs property.
119 *
120 * @return
121 * possible object is
122 * {@link SameAs }
123 *
124 */
125 public SameAs getSameAs() {
126 return sameAs;
127 }
128
129 /**
130 * Sets the value of the sameAs property.
131 *
132 * @param value
133 * allowed object is
134 * {@link SameAs }
135 *
136 */
137 public void setSameAs(SameAs value) {
138 this.sameAs = value;
139 }
140
141 /**
142 * Gets the value of the name property.
143 *
144 * @return
145 * possible object is
146 * {@link String }
147 *
148 */
149 public String getName() {
150 return name;
151 }
152
153 /**
154 * Sets the value of the name property.
155 *
156 * @param value
157 * allowed object is
158 * {@link String }
159 *
160 */
161 public void setName(String value) {
162 this.name = value;
163 }
164
165 /**
166 * Gets the value of the description property.
167 *
168 * @return
169 * possible object is
170 * {@link String }
171 *
172 */
173 public String getDescription() {
174 return description;
175 }
176
177 /**
178 * Sets the value of the description property.
179 *
180 * @param value
181 * allowed object is
182 * {@link String }
183 *
184 */
185 public void setDescription(String value) {
186 this.description = value;
187 }
188
189 /**
190 * Gets the value of the shortIdentifier property.
191 *
192 * @return
193 * possible object is
194 * {@link String }
195 *
196 */
197 public String getShortIdentifier() {
198 return shortIdentifier;
199 }
200
201 /**
202 * Sets the value of the shortIdentifier property.
203 *
204 * @param value
205 * allowed object is
206 * {@link String }
207 *
208 */
209 public void setShortIdentifier(String value) {
210 this.shortIdentifier = value;
211 }
212
213 /**
214 * Gets the value of the websiteUrl property.
215 *
216 * @return
217 * possible object is
218 * {@link String }
219 *
220 */
221 public String getWebsiteUrl() {
222 return websiteUrl;
223 }
224
225 /**
226 * Sets the value of the websiteUrl property.
227 *
228 * @param value
229 * allowed object is
230 * {@link String }
231 *
232 */
233 public void setWebsiteUrl(String value) {
234 this.websiteUrl = value;
235 }
236
237 /**
238 * Gets the value of the logoUrl property.
239 *
240 * @return
241 * possible object is
242 * {@link String }
243 *
244 */
245 public String getLogoUrl() {
246 return logoUrl;
247 }
248
249 /**
250 * Sets the value of the logoUrl property.
251 *
252 * @param value
253 * allowed object is
254 * {@link String }
255 *
256 */
257 public void setLogoUrl(String value) {
258 this.logoUrl = value;
259 }
260
261 /**
262 * Gets the value of the rights property.
263 *
264 * @return
265 * possible object is
266 * {@link String }
267 *
268 */
269 public String getRights() {
270 return rights;
271 }
272
273 /**
274 * Sets the value of the rights property.
275 *
276 * @param value
277 * allowed object is
278 * {@link String }
279 *
280 */
281 public void setRights(String value) {
282 this.rights = value;
283 }
284
285 /**
286 * Gets the value of the citation property.
287 *
288 * @return
289 * possible object is
290 * {@link String }
291 *
292 */
293 public String getCitation() {
294 return citation;
295 }
296
297 /**
298 * Sets the value of the citation property.
299 *
300 * @param value
301 * allowed object is
302 * {@link String }
303 *
304 */
305 public void setCitation(String value) {
306 this.citation = value;
307 }
308
309 /**
310 * Gets the value of the defaultBasisOfRecord property.
311 *
312 * @return
313 * possible object is
314 * {@link String }
315 *
316 */
317 public String getDefaultBasisOfRecord() {
318 return defaultBasisOfRecord;
319 }
320
321 /**
322 * Sets the value of the defaultBasisOfRecord property.
323 *
324 * @param value
325 * allowed object is
326 * {@link String }
327 *
328 */
329 public void setDefaultBasisOfRecord(String value) {
330 this.defaultBasisOfRecord = value;
331 }
332
333 /**
334 * Gets the value of the taxonConceptCount property.
335 *
336 * @return
337 * possible object is
338 * {@link BigInteger }
339 *
340 */
341 public BigInteger getTaxonConceptCount() {
342 return taxonConceptCount;
343 }
344
345 /**
346 * Sets the value of the taxonConceptCount property.
347 *
348 * @param value
349 * allowed object is
350 * {@link BigInteger }
351 *
352 */
353 public void setTaxonConceptCount(BigInteger value) {
354 this.taxonConceptCount = value;
355 }
356
357 /**
358 * Gets the value of the speciesCount property.
359 *
360 * @return
361 * possible object is
362 * {@link BigInteger }
363 *
364 */
365 public BigInteger getSpeciesCount() {
366 return speciesCount;
367 }
368
369 /**
370 * Sets the value of the speciesCount property.
371 *
372 * @param value
373 * allowed object is
374 * {@link BigInteger }
375 *
376 */
377 public void setSpeciesCount(BigInteger value) {
378 this.speciesCount = value;
379 }
380
381 /**
382 * Gets the value of the occurrenceCount property.
383 *
384 * @return
385 * possible object is
386 * {@link BigInteger }
387 *
388 */
389 public BigInteger getOccurrenceCount() {
390 return occurrenceCount;
391 }
392
393 /**
394 * Sets the value of the occurrenceCount property.
395 *
396 * @param value
397 * allowed object is
398 * {@link BigInteger }
399 *
400 */
401 public void setOccurrenceCount(BigInteger value) {
402 this.occurrenceCount = value;
403 }
404
405 /**
406 * Gets the value of the georeferencedOccurrenceCount property.
407 *
408 * @return
409 * possible object is
410 * {@link BigInteger }
411 *
412 */
413 public BigInteger getGeoreferencedOccurrenceCount() {
414 return georeferencedOccurrenceCount;
415 }
416
417 /**
418 * Sets the value of the georeferencedOccurrenceCount property.
419 *
420 * @param value
421 * allowed object is
422 * {@link BigInteger }
423 *
424 */
425 public void setGeoreferencedOccurrenceCount(BigInteger value) {
426 this.georeferencedOccurrenceCount = value;
427 }
428
429 /**
430 * Gets the value of the created property.
431 *
432 * @return
433 * possible object is
434 * {@link XMLGregorianCalendar }
435 *
436 */
437 public XMLGregorianCalendar getCreated() {
438 return created;
439 }
440
441 /**
442 * Sets the value of the created property.
443 *
444 * @param value
445 * allowed object is
446 * {@link XMLGregorianCalendar }
447 *
448 */
449 public void setCreated(XMLGregorianCalendar value) {
450 this.created = value;
451 }
452
453 /**
454 * Gets the value of the modified property.
455 *
456 * @return
457 * possible object is
458 * {@link XMLGregorianCalendar }
459 *
460 */
461 public XMLGregorianCalendar getModified() {
462 return modified;
463 }
464
465 /**
466 * Sets the value of the modified property.
467 *
468 * @param value
469 * allowed object is
470 * {@link XMLGregorianCalendar }
471 *
472 */
473 public void setModified(XMLGregorianCalendar value) {
474 this.modified = value;
475 }
476
477 /**
478 * Gets the value of the deleted property.
479 *
480 * @return
481 * possible object is
482 * {@link XMLGregorianCalendar }
483 *
484 */
485 public XMLGregorianCalendar getDeleted() {
486 return deleted;
487 }
488
489 /**
490 * Sets the value of the deleted property.
491 *
492 * @param value
493 * allowed object is
494 * {@link XMLGregorianCalendar }
495 *
496 */
497 public void setDeleted(XMLGregorianCalendar value) {
498 this.deleted = value;
499 }
500
501 /**
502 * Gets the value of the accessPoints property.
503 *
504 * @return
505 * possible object is
506 * {@link AccessPoints }
507 *
508 */
509 public AccessPoints getAccessPoints() {
510 return accessPoints;
511 }
512
513 /**
514 * Sets the value of the accessPoints property.
515 *
516 * @param value
517 * allowed object is
518 * {@link AccessPoints }
519 *
520 */
521 public void setAccessPoints(AccessPoints value) {
522 this.accessPoints = value;
523 }
524
525 /**
526 * Gets the value of the resourceNetworks property.
527 *
528 * @return
529 * possible object is
530 * {@link ResourceNetworks }
531 *
532 */
533 public ResourceNetworks getResourceNetworks() {
534 return resourceNetworks;
535 }
536
537 /**
538 * Sets the value of the resourceNetworks property.
539 *
540 * @param value
541 * allowed object is
542 * {@link ResourceNetworks }
543 *
544 */
545 public void setResourceNetworks(ResourceNetworks value) {
546 this.resourceNetworks = value;
547 }
548
549 /**
550 * Gets the value of the taxonConcepts property.
551 *
552 * @return
553 * possible object is
554 * {@link TaxonConcepts }
555 *
556 */
557 public TaxonConcepts getTaxonConcepts() {
558 return taxonConcepts;
559 }
560
561 /**
562 * Sets the value of the taxonConcepts property.
563 *
564 * @param value
565 * allowed object is
566 * {@link TaxonConcepts }
567 *
568 */
569 public void setTaxonConcepts(TaxonConcepts value) {
570 this.taxonConcepts = value;
571 }
572
573 /**
574 * Gets the value of the occurrenceRecords property.
575 *
576 * @return
577 * possible object is
578 * {@link OccurrenceRecords }
579 *
580 */
581 public OccurrenceRecords getOccurrenceRecords() {
582 return occurrenceRecords;
583 }
584
585 /**
586 * Sets the value of the occurrenceRecords property.
587 *
588 * @param value
589 * allowed object is
590 * {@link OccurrenceRecords }
591 *
592 */
593 public void setOccurrenceRecords(OccurrenceRecords value) {
594 this.occurrenceRecords = value;
595 }
596
597 /**
598 * Gets the value of the about property.
599 *
600 * @return
601 * possible object is
602 * {@link String }
603 *
604 */
605 public String getAbout() {
606 return about;
607 }
608
609 /**
610 * Sets the value of the about property.
611 *
612 * @param value
613 * allowed object is
614 * {@link String }
615 *
616 */
617 public void setAbout(String value) {
618 this.about = value;
619 }
620
621 /**
622 * Gets the value of the gbifKey property.
623 *
624 * @return
625 * possible object is
626 * {@link String }
627 *
628 */
629 public String getGbifKey() {
630 return gbifKey;
631 }
632
633 /**
634 * Sets the value of the gbifKey property.
635 *
636 * @param value
637 * allowed object is
638 * {@link String }
639 *
640 */
641 public void setGbifKey(String value) {
642 this.gbifKey = value;
643 }
644
645 }