Revision 652732a5
Added by Andreas Müller over 11 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/berlinModelImport/AlgaTerraActivator.java | ||
---|---|---|
43 | 43 |
//database validation status (create, update, validate ...) |
44 | 44 |
static DbSchemaValidation hbm2dll = DbSchemaValidation.CREATE; |
45 | 45 |
static final Source berlinModelSource = BerlinModelSources.AlgaTerra(); |
46 |
static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
|
47 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_algaterra_preview();
|
|
46 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2();
|
|
47 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_algaterra_preview(); |
|
48 | 48 |
|
49 | 49 |
static final UUID treeUuid = UUID.fromString("1f617402-78dc-4bf1-ac77-d260600a8879"); |
50 | 50 |
static final int sourceSecId = 7331; |
51 |
static final UUID sourceRefUuid = UUID.fromString("7e1a2500-93a5-40c2-ba34-0213d7822379"); |
|
51 | 52 |
|
52 | 53 |
static final UUID featureTreeUuid = UUID.fromString("a970168a-36fd-4c7c-931e-87214a965c14"); |
53 | 54 |
static final Object[] featureKeyList = new Integer[]{7,201,202,203,204,205,206,207}; |
54 | 55 |
|
55 | 56 |
//check - import |
56 |
static final CHECK check = CHECK.CHECK_AND_IMPORT;
|
|
57 |
static final CHECK check = CHECK.IMPORT_WITHOUT_CHECK;
|
|
57 | 58 |
|
58 | 59 |
|
59 | 60 |
//NomeclaturalCode |
... | ... | |
126 | 127 |
bmImportConfigurator.setDoFacts(doFacts); |
127 | 128 |
bmImportConfigurator.setDoOccurrence(doOccurences); |
128 | 129 |
bmImportConfigurator.setDoCommonNames(doCommonNames); |
130 |
bmImportConfigurator.setSourceRefUuid(sourceRefUuid); |
|
129 | 131 |
|
130 | 132 |
bmImportConfigurator.setDbSchemaValidation(hbm2dll); |
131 | 133 |
|
Also available in: Unified diff
SourceRefUUid for AlgaTerra