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