Project

General

Profile

« Previous | Next » 

Revision e1779d28

Added by Andreas Kohlbecker over 3 years ago

ref #9252 adding id as propery to recover lost UuidAndTitleCache property for the taxeditor

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/dto/SpecimenOrObservationBaseDTO.java
40 40

  
41 41
    private static final long serialVersionUID = -7597690654462090732L;
42 42

  
43
    private int id;
43 44
    private TreeSet<AbstractMap.SimpleEntry<String, String>> characterData;
44 45
    private DerivateDataDTO derivateDataDTO;
45 46
    protected String taxonName;
......
73 74

  
74 75
    protected SpecimenOrObservationBaseDTO(SpecimenOrObservationBase<?> specimenOrObservation) {
75 76
        super((Class<SpecimenOrObservationBase<?>>) specimenOrObservation.getClass(), specimenOrObservation.getUuid(), specimenOrObservation.getTitleCache());
77
        this.id = specimenOrObservation.getId();
76 78
        addMedia(specimenOrObservation);
77 79
        setKindOfUnit(specimenOrObservation.getKindOfUnit());
78 80
        setSex(specimenOrObservation.getSex());
......
423 425
    }
424 426

  
425 427

  
428
    public int getId() {
429
        return id;
430
    }
431

  
432

  
426 433
}

Also available in: Unified diff