Revision b920f5c2
Added by Andreas Müller over 3 years ago
cdm-eflora/src/main/java/eu/etaxonomy/cdm/app/eflora/FloreGabonActivator.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.cdm.app.eflora; |
11 | 10 |
|
12 | 11 |
import java.net.URI; |
... | ... | |
89 | 88 |
static final URI fdg44 = EfloraSources.fdg_44(); |
90 | 89 |
static final URI fdg45 = EfloraSources.fdg_45(); |
91 | 90 |
|
92 |
|
|
93 |
|
|
94 |
|
|
95 | 91 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_flore_gabon_preview(); |
96 | 92 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_flore_gabon_production(); |
97 | 93 |
static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
98 | 94 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql(); |
99 | 95 |
|
100 |
|
|
101 | 96 |
//feature tree uuid |
102 | 97 |
public static final UUID featureTreeUuid = UUID.fromString("ee688973-2595-4d4d-b11e-6df71e96a5c2"); |
103 | 98 |
private static final String featureTreeTitle = "Flore Gabon Presentation Feature Tree"; |
... | ... | |
112 | 107 |
|
113 | 108 |
static boolean doPrintKeys = false; |
114 | 109 |
|
115 |
|
|
116 | 110 |
private boolean replaceStandardKeyTitles = true; |
117 | 111 |
|
118 | 112 |
//taxa |
... | ... | |
120 | 114 |
|
121 | 115 |
static final boolean reuseState = true; |
122 | 116 |
|
123 |
|
|
124 | 117 |
//if true, use inverse include information |
125 | 118 |
private boolean inverseInclude = true; |
126 | 119 |
|
... | ... | |
540 | 533 |
"figure", |
541 | 534 |
"fig", |
542 | 535 |
"figs", |
543 |
|
|
544 |
|
|
545 |
|
|
546 | 536 |
}; |
547 | 537 |
|
548 | 538 |
public TermNode<Feature> addFeatureNodesByStringList(String[] featureStringList, |
... | ... | |
565 | 555 |
return lastChild; |
566 | 556 |
} |
567 | 557 |
|
568 |
|
|
569 |
|
|
570 |
/** |
|
571 |
* @param args |
|
572 |
*/ |
|
573 | 558 |
public static void main(String[] args) { |
574 | 559 |
FloreGabonActivator me = new FloreGabonActivator(); |
575 | 560 |
me.doImport(cdmDestination); |
576 | 561 |
} |
577 |
} |
|
562 |
} |
Also available in: Unified diff
cleanup