1
|
/**
|
2
|
* Copyright (C) 2007 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.cdm.strategy.merge;
|
11
|
|
12
|
|
13
|
/**
|
14
|
* Enumeration for merge modes
|
15
|
* @author a.mueller
|
16
|
* @since 31.07.2009
|
17
|
*/
|
18
|
public enum MergeMode {
|
19
|
FIRST,
|
20
|
SECOND,
|
21
|
NULL, //for all but collections(, cdmBases?)
|
22
|
CONCAT, //for Strings
|
23
|
ADD, //for collections
|
24
|
ADD_CLONE, //for collections
|
25
|
AND, //only for boolean values
|
26
|
OR, //only for boolean values
|
27
|
RELATION, //only for collections of relationsshipbase
|
28
|
MERGE
|
29
|
}
|