merge-update from trunk
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / strategy / merge / MergeMode.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 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
11 package eu.etaxonomy.cdm.strategy.merge;
12
13
14 /**
15 * Enumeration for merge modes
16 * @author a.mueller
17 * @created 31.07.2009
18 * @version 1.0
19 */
20 public enum MergeMode {
21 FIRST,
22 SECOND,
23 NULL, //for all but collections(, cdmBases?)
24 CONCAT, //for Strings
25 ADD, //for collections
26 ADD_CLONE, //for collections
27 AND, //only for boolean values
28 OR, //only for boolean values
29 RELATION, //only for collections of relationsshipbase
30 MERGE
31 }