1 |
adf3faf9
|
Patrick Plitzner
|
// $Id$
|
2 |
|
|
/**
|
3 |
|
|
* Copyright (C) 2016 EDIT
|
4 |
|
|
* European Distributed Institute of Taxonomy
|
5 |
|
|
* http://www.e-taxonomy.eu
|
6 |
|
|
*
|
7 |
|
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8 |
|
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9 |
|
|
*/
|
10 |
|
|
package eu.etaxonomy.cdm.io.redlist.gefaesspflanzen;
|
11 |
|
|
|
12 |
0873eb1c
|
Patrick Plitzner
|
import java.util.UUID;
|
13 |
|
|
|
14 |
f7d29c7f
|
Patrick Plitzner
|
import org.apache.log4j.Logger;
|
15 |
|
|
|
16 |
74525264
|
Patrick Plitzner
|
import eu.etaxonomy.cdm.common.UTF8;
|
17 |
|
|
|
18 |
adf3faf9
|
Patrick Plitzner
|
/**
|
19 |
|
|
* @author pplitzner
|
20 |
|
|
* @date Mar 7, 2016
|
21 |
|
|
*
|
22 |
|
|
*/
|
23 |
b37b6a0f
|
Patrick Plitzner
|
public class RedListUtil {
|
24 |
adf3faf9
|
Patrick Plitzner
|
|
25 |
0873eb1c
|
Patrick Plitzner
|
public static final UUID checkListClassificationUuid = UUID.fromString("928a4695-c055-465e-99da-07322384b0b7");
|
26 |
|
|
|
27 |
761eacaf
|
Patrick Plitzner
|
public static final UUID checkListReferenceUuid = UUID.fromString("e3abe234-ff23-4d85-9c1f-6769df965f33");
|
28 |
|
|
public static final UUID gesamtListeReferenceUuid = UUID.fromString("ec0308de-2245-4e71-a362-4ee72290bf23");
|
29 |
|
|
|
30 |
d72d4db9
|
Patrick Plitzner
|
public static final UUID uuidClassificationReferenceE = UUID.fromString("0d62803a-430e-465d-aa45-9ba924c52df7");
|
31 |
|
|
public static final UUID uuidClassificationReferenceW = UUID.fromString("ba62f7cc-b489-4ef4-92d3-5cfa6eedf947");
|
32 |
|
|
public static final UUID uuidClassificationReferenceK = UUID.fromString("9d5a5f0b-44f3-415b-b704-37f98c577127");
|
33 |
|
|
public static final UUID uuidClassificationReferenceAW = UUID.fromString("509a95d6-0c9f-461c-94d9-762a7467a918");
|
34 |
|
|
public static final UUID uuidClassificationReferenceAO = UUID.fromString("422d81dc-d7ea-4d78-8836-c50ef4365eb4");
|
35 |
|
|
public static final UUID uuidClassificationReferenceR = UUID.fromString("f802727b-e3fe-4ec3-84cf-153f03239f4d");
|
36 |
|
|
public static final UUID uuidClassificationReferenceO = UUID.fromString("832155f7-caeb-4cf4-a14b-64e0e9710f7a");
|
37 |
|
|
public static final UUID uuidClassificationReferenceS = UUID.fromString("a3085ffa-4f59-4bf8-add9-d4cc84b66047");
|
38 |
|
|
|
39 |
|
|
public static final UUID uuidClassificationE = UUID.fromString("87d3d656-57bc-4b54-b338-80f9f2a37435");
|
40 |
|
|
public static final UUID uuidClassificationW = UUID.fromString("1bd21015-f542-4bf9-9e1f-ac0147e3a9f8");
|
41 |
|
|
public static final UUID uuidClassificationK = UUID.fromString("c6120524-f21b-4426-92db-52add2286831");
|
42 |
|
|
public static final UUID uuidClassificationAW = UUID.fromString("b48ca7a0-a641-4fd1-ad51-238a9b57a470");
|
43 |
|
|
public static final UUID uuidClassificationAO = UUID.fromString("a8743caa-56d5-4636-9ce6-4ef272d769d2");
|
44 |
|
|
public static final UUID uuidClassificationR = UUID.fromString("870d2e18-cd1b-4aa1-a360-ba5e0a5905aa");
|
45 |
|
|
public static final UUID uuidClassificationO = UUID.fromString("e19bb2e6-d898-4793-8cd4-d866eeb1f872");
|
46 |
|
|
public static final UUID uuidClassificationS = UUID.fromString("53e81162-5c2d-425b-bbe6-6e8d12e85790");
|
47 |
761eacaf
|
Patrick Plitzner
|
|
48 |
adf3faf9
|
Patrick Plitzner
|
public static final String NAME_NAMESPACE = "name";
|
49 |
bac828e0
|
Patrick Plitzner
|
public static final String AUTHOR_NAMESPACE = "author";
|
50 |
0873eb1c
|
Patrick Plitzner
|
public static final String TAXON_GESAMTLISTE_NAMESPACE = "taxon_gesamt_liste";
|
51 |
|
|
public static final String TAXON_CHECKLISTE_NAMESPACE = "taxon_checkliste";
|
52 |
bac828e0
|
Patrick Plitzner
|
public static final String CLASSIFICATION_NAMESPACE_E = "classification_namespace_e";
|
53 |
|
|
public static final String CLASSIFICATION_NAMESPACE_W = "classification_namespace_w";
|
54 |
|
|
public static final String CLASSIFICATION_NAMESPACE_K = "classification_namespace_k";
|
55 |
|
|
public static final String CLASSIFICATION_NAMESPACE_AW = "classification_namespace_aw";
|
56 |
|
|
public static final String CLASSIFICATION_NAMESPACE_AO = "classification_namespace_ao";
|
57 |
|
|
public static final String CLASSIFICATION_NAMESPACE_R = "classification_namespace_r";
|
58 |
|
|
public static final String CLASSIFICATION_NAMESPACE_O = "classification_namespace_o";
|
59 |
|
|
public static final String CLASSIFICATION_NAMESPACE_S = "classification_namespace_s";
|
60 |
4fe9a46d
|
Patrick Plitzner
|
|
61 |
87272062
|
Patrick Plitzner
|
|
62 |
|
|
//cell content
|
63 |
b37b6a0f
|
Patrick Plitzner
|
public static final String AUCT = "auct.";
|
64 |
4fe9a46d
|
Patrick Plitzner
|
public static final String EX = " ex ";
|
65 |
|
|
public static final String GUELT_BASIONYM = "b";
|
66 |
|
|
public static final String GUELT_SYNONYM = "x";
|
67 |
|
|
public static final String GUELT_ACCEPTED_TAXON = "1";
|
68 |
8f6337ac
|
Patrick Plitzner
|
public static final String HYB_X = "x";
|
69 |
|
|
public static final String HYB_XF = "xf";
|
70 |
|
|
public static final String HYB_XS = "xs";
|
71 |
|
|
public static final String HYB_N = "n";
|
72 |
|
|
public static final String HYB_G = "g";
|
73 |
|
|
public static final String HYB_NF = "nf";
|
74 |
|
|
public static final String HYB_XU = "xu";
|
75 |
|
|
public static final String HYB_GF = "gf";
|
76 |
|
|
|
77 |
74525264
|
Patrick Plitzner
|
public static final String HYB_SIGN = UTF8.HYBRID.toString();
|
78 |
|
|
|
79 |
4fe9a46d
|
Patrick Plitzner
|
|
80 |
87272062
|
Patrick Plitzner
|
//column names
|
81 |
a1c44317
|
Patrick Plitzner
|
public static final String NAMNR = "NAMNR";
|
82 |
|
|
public static final String SEQNUM = "SEQNUM";
|
83 |
4fe9a46d
|
Patrick Plitzner
|
public static final String GUELT = "GUELT";
|
84 |
|
|
public static final String LOWER = "LOWER";
|
85 |
|
|
public static final String AUTOR_BASI = "AUTOR_BASI";
|
86 |
|
|
public static final String AUTOR_KOMB = "AUTOR_KOMB";
|
87 |
|
|
public static final String ZUSATZ = "ZUSATZ";
|
88 |
|
|
public static final String NOM_ZUSATZ = "NOM_ZUSATZ";
|
89 |
3c5880e8
|
Patrick Plitzner
|
public static final String TAX_ZUSATZ = "TAX_ZUSATZ";
|
90 |
48cd39f3
|
Patrick Plitzner
|
public static final String NON = "NON";
|
91 |
|
|
public static final String SENSU = "SENSU";
|
92 |
fac4774f
|
Patrick Plitzner
|
public static final String TRIVIAL = "TRIVIAL";
|
93 |
4fe9a46d
|
Patrick Plitzner
|
public static final String EPI3 = "EPI3";
|
94 |
|
|
public static final String EPI2 = "EPI2";
|
95 |
|
|
public static final String EPI1 = "EPI1";
|
96 |
|
|
public static final String RANG = "RANG";
|
97 |
|
|
public static final String TAXNAME = "TAXNAME";
|
98 |
|
|
public static final String AUTOR = "AUTOR";
|
99 |
0873eb1c
|
Patrick Plitzner
|
public static final String CL_TAXON = "CL_TAXON";
|
100 |
8f6337ac
|
Patrick Plitzner
|
public static final String HYB = "HYB";
|
101 |
a6b3a090
|
Patrick Plitzner
|
public static final String FORMEL = "FORMEL";
|
102 |
|
|
public static final String FLOR = "FLOR";
|
103 |
|
|
public static final String ATLAS_IDX = "ATLAS_IDX";
|
104 |
|
|
public static final String KART = "KART";
|
105 |
|
|
public static final String RL2015 = "RL2015";
|
106 |
|
|
public static final String EHRD = "EHRD";
|
107 |
|
|
public static final String WISSK = "WISSK";
|
108 |
b37b6a0f
|
Patrick Plitzner
|
|
109 |
c98ea2df
|
Patrick Plitzner
|
public static final String FAMILIE = "FAMILIE";
|
110 |
|
|
|
111 |
bac828e0
|
Patrick Plitzner
|
public static final String E = "E";
|
112 |
|
|
public static final String W = "W";
|
113 |
|
|
public static final String K = "K";
|
114 |
|
|
public static final String AW = "AW";
|
115 |
|
|
public static final String AO = "AO";
|
116 |
|
|
public static final String R = "R";
|
117 |
|
|
public static final String O = "O";
|
118 |
|
|
public static final String S = "S";
|
119 |
|
|
|
120 |
f7d29c7f
|
Patrick Plitzner
|
public static void logMessage(long id, String message, Logger logger){
|
121 |
4fe9a46d
|
Patrick Plitzner
|
logger.error(NAMNR+": "+id+" "+message);
|
122 |
b37b6a0f
|
Patrick Plitzner
|
}
|
123 |
4fe9a46d
|
Patrick Plitzner
|
|
124 |
adf3faf9
|
Patrick Plitzner
|
}
|