Project

General

Profile

« Previous | Next » 

Revision cf76baeb

Added by Andreas Müller over 7 years ago

ref #6065 Handle synonyms in taxonInContext

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/dto/TaxonInContextDTO.java
15 15

  
16 16
import eu.etaxonomy.cdm.model.taxon.Synonym;
17 17
import eu.etaxonomy.cdm.model.taxon.Taxon;
18
import eu.etaxonomy.cdm.persistence.dto.TaxonStatus;
18 19

  
19 20
/**
20 21
 * @author a.mueller
......
26 27
    private UUID taxonNodeUuid;
27 28
    private UUID taxonUuid;
28 29
    private String taxonLabel;
30
    private TaxonStatus taxonStatus;
29 31

  
30 32
    //name
31 33
    private UUID nameUuid;
32 34
    private String nameLabel;
35

  
33 36
    private String nameWithoutAuthor;
34 37
    private UUID rankUuid;
35 38
    private String rankLabel;
......
43 46
    private UUID secundumUuid;
44 47
    private String secundumLabel;
45 48

  
49
    //accepted taxon
50
    private UUID acceptedTaxonUuid;
51
    private String acceptedNameLabel;
52

  
53

  
54
    private String acceptedTaxonLabel;
55

  
56

  
57
    /**
58
     * @return the acceptedTaxonLabel
59
     */
60
    public String getAcceptedTaxonLabel() {
61
        return acceptedTaxonLabel;
62
    }
63

  
64
    /**
65
     * @param acceptedTaxonLabel the acceptedTaxonLabel to set
66
     */
67
    public void setAcceptedTaxonLabel(String acceptedTaxonLabel) {
68
        this.acceptedTaxonLabel = acceptedTaxonLabel;
69
    }
70

  
46 71
    private List<EntityDTO<Taxon>> children = new ArrayList<>();
47 72

  
48 73
    private List<EntityDTO<Synonym>> synonyms = new ArrayList<>();
......
321 346
        return markedAncestors;
322 347
    }
323 348

  
349

  
350
    /**
351
     * @return the acceptedTaxonUuid
352
     */
353
    public UUID getAcceptedTaxonUuid() {
354
        return acceptedTaxonUuid;
355
    }
356

  
357
    /**
358
     * @param acceptedTaxonUuid the acceptedTaxonUuid to set
359
     */
360
    public void setAcceptedTaxonUuid(UUID acceptedTaxonUuid) {
361
        this.acceptedTaxonUuid = acceptedTaxonUuid;
362
    }
363

  
364
    /**
365
     * @return the acceptedNameLabel
366
     */
367
    public String getAcceptedNameLabel() {
368
        return acceptedNameLabel;
369
    }
370

  
371
    /**
372
     * @param acceptedNameLabel the acceptedNameLabel to set
373
     */
374
    public void setAcceptedNameLabel(String acceptedNameLabel) {
375
        this.acceptedNameLabel = acceptedNameLabel;
376
    }
377

  
378
    /**
379
     * @return the taxonStatus
380
     */
381
    public TaxonStatus getTaxonStatus() {
382
        return taxonStatus;
383
    }
384

  
385
    /**
386
     * @param taxonStatus the taxonStatus to set
387
     */
388
    public void setTaxonStatus(TaxonStatus taxonStatus) {
389
        this.taxonStatus = taxonStatus;
390
    }
391

  
324 392
// *************************** ADDER *******************************/
325 393

  
326 394
    public void addChild(EntityDTO<Taxon> childDto){

Also available in: Unified diff