new nodeDeletionConfiguator to fit for taxonnode and feature node deletion
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / config / SynonymDeletionConfigurator.java
1 // $Id$
2 /**
3 * Copyright (C) 2009 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 package eu.etaxonomy.cdm.api.service.config;
11 /**
12 * This class is used to configure synonym deletion.
13 *
14 * @see ITaxonService#deleteSynonym(eu.etaxonomy.cdm.model.taxon.Synonym)
15 *
16 * @author k.luther
17 * @date 09.11.2011
18 *
19 */
20 public class SynonymDeletionConfigurator extends TaxonBaseDeletionConfigurator{
21 private boolean newHomotypicGroupIfNeeded = true;
22
23 public boolean isNewHomotypicGroupIfNeeded() {
24 return newHomotypicGroupIfNeeded;
25 }
26
27 public void setNewHomotypicGroupIfNeeded(boolean newHomotypicGroupIfNeeded) {
28 this.newHomotypicGroupIfNeeded = newHomotypicGroupIfNeeded;
29 }
30
31
32 }