Merge branch 'release/5.45.0'
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / strategy / merge / MergeMode.java
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 package eu.etaxonomy.cdm.strategy.merge;
10
11 /**
12 * Enumeration for merge modes
13 * @author a.mueller
14 * @since 31.07.2009
15 */
16 public enum MergeMode {
17 FIRST,
18 SECOND,
19 NULL, //for all but collections(, cdmBases?)
20 CONCAT, //for Strings
21 ADD, //for collections
22 ADD_CLONE, //for collections
23 AND, //only for boolean values
24 OR, //only for boolean values
25 RELATION, //only for collections of relationshipbase
26 MERGE
27 }