Project

General

Profile

« Previous | Next » 

Revision e2cf0d65

Added by Patrick Plitzner almost 8 years ago

Set sec reference for all taxa #5448

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenImportNames.java
133 133
            RedListUtil.logMessage(id, "Taxon for name "+name+" could not be created.", logger);
134 134
            return;
135 135
        }
136
        taxonBase.setSec(state.getConfig().getSourceReference());
137 136

  
138 137
        //---CONCEPT RELATIONSHIPS---
139 138
        /*check if taxon/synonym also exists in other classification
......
183 182
     */
184 183
    private void cloneTaxon(TaxonBase<?> taxonBase, TaxonNameBase<?, ?> name, TaxonRelationshipType relationFromCloneToTaxon, Set<TaxonBase<?>> taxaToSave, long id, String sourceNameSpace, boolean reverseRelation, boolean doubtful, RedListGefaesspflanzenImportState state){
185 184
        TaxonBase<?> clone = (TaxonBase<?>) taxonBase.clone();
186
        clone.setName(name);
187 185
        if(taxonBase.isInstanceOf(Taxon.class)){
188 186
            TaxonRelationship taxonRelation;
189 187
            if(reverseRelation){

Also available in: Unified diff