Project

General

Profile

Revision 9c0f743e

ID9c0f743e5bbc4ecefece9eb4c7b17c114a09ae02
Parent aac70fda
Child 5c243ba9

Added by Patrick Plitzner over 3 years ago

ref #7674 Change label of default description

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/DescriptiveDataSetService.java
280 280
        }
281 281
        //description not yet added to dataset -> create a new one
282 282
        TaxonDescription newTaxonDescription = TaxonDescription.NewInstance(taxonNode.getTaxon());
283
        newTaxonDescription.setTitleCache("Dataset "+dataSet.getLabel()+": "+newTaxonDescription.generateTitle(), true); //$NON-NLS-2$
283
        newTaxonDescription.setTitleCache("[Default] "+dataSet.getLabel()+": "+newTaxonDescription.generateTitle(), true); //$NON-NLS-2$
284 284
        dataSet.getDescriptiveSystem().getDistinctFeatures().forEach(wsFeature->{
285 285
            if(wsFeature.isSupportsCategoricalData()){
286 286
                newTaxonDescription.addElement(CategoricalData.NewInstance(wsFeature));

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)