Refactor string constants
[cdmlib-apps.git] / app-import / src / main / java / eu / etaxonomy / cdm / io / redlist / gefaesspflanzen / RedListUtil.java
1 // $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 import org.apache.log4j.Logger;
13
14 /**
15 * @author pplitzner
16 * @date Mar 7, 2016
17 *
18 */
19 public class RedListUtil {
20
21 public static final String NAME_NAMESPACE = "name";
22 public static final String TAXON_NAMESPACE = "taxon";
23 public static final String AUTHOR_NAMESPACE = "author";
24
25 public static final String AUCT = "auct.";
26 public static final String EX = " ex ";
27 public static final String GUELT_BASIONYM = "b";
28 public static final String GUELT_SYNONYM = "x";
29 public static final String GUELT_ACCEPTED_TAXON = "1";
30
31
32 public static final String GUELT = "GUELT";
33 public static final String LOWER = "LOWER";
34 public static final String NAMNR = "NAMNR";
35 public static final String AUTOR_BASI = "AUTOR_BASI";
36 public static final String AUTOR_KOMB = "AUTOR_KOMB";
37 public static final String ZUSATZ = "ZUSATZ";
38 public static final String NOM_ZUSATZ = "NOM_ZUSATZ";
39 public static final String EPI3 = "EPI3";
40 public static final String EPI2 = "EPI2";
41 public static final String EPI1 = "EPI1";
42 public static final String RANG = "RANG";
43 public static final String TAXNAME = "TAXNAME";
44 public static final String AUTOR = "AUTOR";
45
46 public static void logMessage(long id, String message, Logger logger){
47 logger.error(NAMNR+": "+id+" "+message);
48 }
49
50 }