smaller changes in ForSubtreeConfigurator
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / config / TaxonNodeDeletionConfigurator.java
1 /**
2 * Copyright (C) 2009 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.api.service.config;
10
11 import org.apache.log4j.Logger;
12
13 import eu.etaxonomy.cdm.api.service.ITaxonNodeService;
14
15 /**
16 * This class is used to configure taxon node deletion.
17 *
18 * @see ITaxonNodeService#delete(eu.etaxonomy.cdm.model.taxon.TaxonNode)
19 *
20 * @author a.mueller
21 * @date 09.11.2011
22 *
23 */
24 public class TaxonNodeDeletionConfigurator extends NodeDeletionConfigurator {
25 @SuppressWarnings("unused")
26 private static final Logger logger = Logger.getLogger(TaxonNodeDeletionConfigurator.class);
27
28 public boolean isDeleteTaxon() {
29 return isDeleteElement();
30 }
31
32 public void setDeleteTaxon(boolean deleteTaxon) {
33 this.deleteElement = deleteTaxon;
34 }
35
36
37
38
39 }