Project

General

Profile

« Previous | Next » 

Revision ef165fe2

Added by Andreas Müller almost 3 years ago

cleanup

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/config/SpecimenDeleteConfigurator.java
11 11
import eu.etaxonomy.cdm.model.description.DescriptionBase;
12 12
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation;
13 13

  
14

  
15 14
/**
16 15
 * @author pplitzner
17 16
 * @since Nov 10, 2014
18
 *
19 17
 */
20 18
public class SpecimenDeleteConfigurator extends DeleteConfiguratorBase {
21 19

  
......
25 23
     * If <code>true</code> all sub derivates of the specimen are deleted.
26 24
     */
27 25
    private boolean deleteChildren;
28
    /**
29
     * TODO: is this needed? For which use case?
30
     * Shifts the sub derivates of the deleted specimen to the parents of the
31
     * deleted specimen i.e. adds the sub derivates to the derivation event of
32
     * the parent
33
     */
26

  
27
//    /**
28
//     * TODO: is this needed? For which use case?
29
//     * Shifts the sub derivates of the deleted specimen to the parents of the
30
//     * deleted specimen i.e. adds the sub derivates to the derivation event of
31
//     * the parent
32
//     */
34 33
//    private boolean shiftHierarchyUp;
35 34
    /**
36 35
     * If <code>true</code> the {@link SpecimenTypeDesignation} which
......
56 55
    public boolean isDeleteChildren() {
57 56
        return deleteChildren;
58 57
    }
59

  
60 58
    public void setDeleteChildren(boolean deleteChildren) {
61 59
        this.deleteChildren = deleteChildren;
62 60
    }
......
64 62
//    public boolean isShiftHierarchyUp() {
65 63
//        return shiftHierarchyUp;
66 64
//    }
67
//
68 65
//    public void setShiftHierarchyUp(boolean shiftHierarchyUp) {
69 66
//        this.shiftHierarchyUp = shiftHierarchyUp;
70 67
//    }
......
72 69
    public boolean isDeleteFromTypeDesignation() {
73 70
        return deleteFromTypeDesignation;
74 71
    }
75

  
76 72
    public void setDeleteFromTypeDesignation(boolean deleteFromTypeDesignation) {
77 73
        this.deleteFromTypeDesignation = deleteFromTypeDesignation;
78 74
    }
......
80 76
    public boolean isDeleteFromIndividualsAssociation() {
81 77
        return deleteFromIndividualsAssociation;
82 78
    }
83

  
84 79
    public void setDeleteFromIndividualsAssociation(boolean deleteFromIndividualsAssociation) {
85 80
        this.deleteFromIndividualsAssociation = deleteFromIndividualsAssociation;
86 81
    }
......
88 83
    public boolean isDeleteFromDescription() {
89 84
        return deleteFromDescription;
90 85
    }
91

  
92 86
    public void setDeleteFromDescription(boolean deleteFromDescription) {
93 87
        this.deleteFromDescription = deleteFromDescription;
94 88
    }
......
96 90
    public boolean isDeleteMolecularData() {
97 91
        return isDeleteMolecularData;
98 92
    }
99

  
100 93
    public void setDeleteMolecularData(boolean isDeleteMolecularData) {
101 94
        this.isDeleteMolecularData = isDeleteMolecularData;
102 95
    }
103

  
104
}
96
}

Also available in: Unified diff