Revision 145fc7c6
Added by Andreas Müller almost 8 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/PresenceAbsenceTerm.java | ||
---|---|---|
92 | 92 |
private static final UUID uuidIN=UUID.fromString("e191e89a-a751-4b0c-b883-7f1de70915c9"); |
93 | 93 |
private static final UUID uuidIC=UUID.fromString("fac8c347-8262-44a1-b0a4-db4de451c021"); |
94 | 94 |
private static final UUID uuidE=UUID.fromString("c3ee7048-15b7-4be1-b687-9ce9c1a669d6"); |
95 |
//was merged int uuidIN |
|
95 |
|
|
96 | 96 |
// private static final UUID uuidNa=UUID.fromString("4e04990a-66fe-4fdf-856c-f40772fbcf0a"); |
97 |
private static final UUID uuidIV=UUID.fromString("dc536e3d-a753-4bbe-a386-dd8aff35c234"); |
|
97 |
private static final UUID uuidNI=UUID.fromString("dc536e3d-a753-4bbe-a386-dd8aff35c234"); |
|
98 |
|
|
99 |
private static final UUID uuidNN=UUID.fromString("1b025e8b-901a-42e8-9739-119b410c6f03"); |
|
98 | 100 |
|
99 | 101 |
//doubtfully present |
100 | 102 |
private static final UUID uuidNQ=UUID.fromString("925662c1-bb10-459a-8c53-da5a738ac770"); |
101 | 103 |
private static final UUID uuidCQ=UUID.fromString("4f31bfc8-3058-4d83-aea5-3a1fe9773f9f"); |
102 | 104 |
private static final UUID uuidIQ=UUID.fromString("83eb0aa0-1a45-495a-a3ca-bf6958b74366"); |
103 | 105 |
private static final UUID uuidEQ=UUID.fromString("5f954f08-267a-4928-b073-12328f74c187"); |
104 |
// private static final UUID uuidNDQ=UUID.fromString("7ddfd94d-01a4-496c-a6d6-18584c00af59"); |
|
106 |
//intr. naturalized questionable |
|
107 |
private static final UUID uuidINQ=UUID.fromString("9e0b413b-5a68-4e5b-91f2-227b4f832466"); |
|
108 |
//natur. invasive questionable |
|
109 |
private static final UUID uuidNIQ=UUID.fromString("ac429d5f-e8ad-49ae-a41c-e4779b58b96a"); |
|
110 |
//natur. non-invasive questionable |
|
111 |
private static final UUID uuidNNQ=UUID.fromString("11f56e2f-c16c-4b3d-a870-bb5d3b20e624"); |
|
112 |
|
|
105 | 113 |
|
106 | 114 |
//absence |
107 | 115 |
private static final UUID uuidAbsence=UUID.fromString("59709861-f7d9-41f9-bb21-92559cedd598"); |
... | ... | |
115 | 123 |
private static final UUID uuidIE=UUID.fromString("b74dc30b-ee93-496d-8c00-4d00abae1ec7"); |
116 | 124 |
private static final UUID uuidEE=UUID.fromString("679b215d-c231-4ee2-ae12-3ffc3dd528ad"); |
117 | 125 |
private static final UUID uuidNaE=UUID.fromString("8d918a37-3add-4e1c-a233-c37dbee209aa"); |
126 |
private static final UUID uuidIAQ=UUID.fromString("73f75493-1185-4a3e-af1e-9a1f2e8dadb7"); |
|
127 |
private static final UUID uuidIAF=UUID.fromString("9b910b7b-43e3-4260-961c-6063b11cb7dc"); |
|
118 | 128 |
|
119 | 129 |
|
120 | 130 |
protected static Map<UUID, PresenceAbsenceTerm> termMap = null; |
... | ... | |
327 | 337 |
/** |
328 | 338 |
* Casual alien or introduced: adventive (casual) |
329 | 339 |
* |
340 |
* @see #CASUAL_REPORTED_IN_ERROR() |
|
341 |
* @see #CASUAL_PRESENCE_QUESTIONABLE() |
|
330 | 342 |
* @see #INTRODUCED_ADVENTITIOUS() |
331 | 343 |
*/ |
332 | 344 |
public static final PresenceAbsenceTerm CASUAL(){ |
333 | 345 |
return getTermByUuid(uuidIA); |
334 | 346 |
} |
347 |
/** |
|
348 |
* Casual alien, presence questionable |
|
349 |
* |
|
350 |
* @see #CASUAL() |
|
351 |
* @see #CASUAL_REPORTED_IN_ERROR() |
|
352 |
* @see #PRESENT_DOUBTFULLY() |
|
353 |
*/ |
|
354 |
public static final PresenceAbsenceTerm CASUAL_PRESENCE_QUESTIONABLE(){ |
|
355 |
return getTermByUuid(uuidIAQ); |
|
356 |
} |
|
357 |
/** |
|
358 |
* Casual alien, reported in error |
|
359 |
* |
|
360 |
* @see #CASUAL() |
|
361 |
* @see #CASUAL_PRESENCE_QUESTIONABLE() |
|
362 |
* @see #REPORTED_IN_ERROR() |
|
363 |
*/ |
|
364 |
public static final PresenceAbsenceTerm CASUAL_REPORTED_IN_ERROR(){ |
|
365 |
return getTermByUuid(uuidIAF); |
|
366 |
} |
|
367 |
|
|
335 | 368 |
|
336 | 369 |
/** |
337 | 370 |
* This term is of questional value. Introduced often is handled as opposite |
... | ... | |
355 | 388 |
return getTermByUuid(uuidID); |
356 | 389 |
} |
357 | 390 |
|
358 |
/** |
|
359 |
* |
|
360 |
* @see #NATURALISED() |
|
361 |
*/ |
|
362 |
public static final PresenceAbsenceTerm NATURALISED(){ |
|
363 |
return getTermByUuid(uuidIN); |
|
364 |
} |
|
365 | 391 |
|
366 | 392 |
public static final PresenceAbsenceTerm INTRODUCED_UNCERTAIN_DEGREE_OF_NATURALISATION(){ |
367 | 393 |
return getTermByUuid(uuidIP); |
... | ... | |
445 | 471 |
return getTermByUuid(uuidNDE); |
446 | 472 |
} |
447 | 473 |
|
474 |
|
|
475 |
/** |
|
476 |
* Naturalized (or introduced: naturalized). Further distinction can be made by |
|
477 |
* distinguishing invasive / non-invasive |
|
478 |
* @see #NATURALISED_PRESENCE_QUESTIONABLE() |
|
479 |
* @see #NATURALISED_REPORTED_IN_ERROR() |
|
480 |
* @see #INVASIVE() |
|
481 |
* @see #NON_INVASIVE |
|
482 |
*/ |
|
483 |
public static final PresenceAbsenceTerm NATURALISED(){ |
|
484 |
return getTermByUuid(uuidIN); |
|
485 |
} |
|
486 |
|
|
487 |
/** |
|
488 |
* |
|
489 |
* @see #NATURALISED() |
|
490 |
*/ |
|
491 |
public static final PresenceAbsenceTerm NATURALISED_PRESENCE_QUESTIONABLE(){ |
|
492 |
return getTermByUuid(uuidINQ); |
|
493 |
} |
|
494 |
|
|
448 | 495 |
public static final PresenceAbsenceTerm NATURALISED_REPORTED_IN_ERROR(){ |
449 | 496 |
return getTermByUuid(uuidNaE); |
450 | 497 |
} |
451 | 498 |
|
452 | 499 |
/** |
453 |
* The taxon is present but not native in the given area. |
|
454 |
* Additionally it is dangerous for the native species. |
|
500 |
* Naturalized invasive. <BR> |
|
501 |
* The taxon is present but not native in the given area. Additionally |
|
502 |
* it is spreading fast. |
|
455 | 503 |
* |
456 |
* TBC |
|
504 |
* @see #INVASIVE_PRESENCE_QUESTIONABLE() |
|
505 |
* @see #NON_INVASIVE() |
|
506 |
* @see #NON_INVASIVE_PRESENCE_QUESTIONABLE() |
|
457 | 507 |
*/ |
458 | 508 |
public static final PresenceAbsenceTerm INVASIVE(){ |
459 |
return getTermByUuid(uuidIV);
|
|
509 |
return getTermByUuid(uuidNI);
|
|
460 | 510 |
} |
511 |
/** |
|
512 |
* Invasive, presence questionable. |
|
513 |
* |
|
514 |
* @see #INVASIVE() |
|
515 |
* @see #NON_INVASIVE() |
|
516 |
* @see #NON_INVASIVE_PRESENCE_QUESTIONABLE() |
|
517 |
*/ |
|
518 |
public static final PresenceAbsenceTerm INVASIVE_PRESENCE_QUESTIONABLE(){ |
|
519 |
return getTermByUuid(uuidNIQ); |
|
520 |
} |
|
521 |
/** |
|
522 |
* The taxon is present but not native in the given area (naturalized). |
|
523 |
* Additionally it is spreading not so fast. |
|
524 |
* |
|
525 |
* @see #INVASIVE() |
|
526 |
* @see #INVASIVE_PRESENCE_QUESTIONABLE() |
|
527 |
* @see #NON_INVASIVE_PRESENCE_QUESTIONABLE() |
|
528 |
*/ |
|
529 |
public static final PresenceAbsenceTerm NON_INVASIVE(){ |
|
530 |
return getTermByUuid(uuidNN); |
|
531 |
} |
|
532 |
/** |
|
533 |
* The taxon is questionable present and not native in the given area (naturalized). |
|
534 |
* Additionally it is spreading not so fast |
|
535 |
* |
|
536 |
* @see #NON_INVASIVE() |
|
537 |
* @see #INVASIVE() |
|
538 |
* @see #INVASIVE_PRESENCE_QUESTIONABLE() |
|
539 |
*/ |
|
540 |
public static final PresenceAbsenceTerm NON_INVASIVE_PRESENCE_QUESTIONABLE(){ |
|
541 |
return getTermByUuid(uuidNNQ); |
|
542 |
} |
|
543 |
|
|
461 | 544 |
|
462 | 545 |
/** |
463 | 546 |
* @see #PRESENT() |
Also available in: Unified diff
#6000 Add static methods and uuids for new PAT terms