Revision 0979f889
Added by Andreas Kohlbecker over 3 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/dto/DescriptionBaseDto.java | ||
---|---|---|
32 | 32 |
private static final long serialVersionUID = -1578895619195062502L; |
33 | 33 |
|
34 | 34 |
private UuidAndTitleCache<Taxon> taxonUuid; |
35 |
private DerivateDTO specimenDto;
|
|
35 |
private SpecimenOrObservationBaseDTO specimenDto;
|
|
36 | 36 |
|
37 | 37 |
private UuidAndTitleCache<TaxonName> nameUuid; |
38 | 38 |
private DescriptionBase description; // TODO use DTO instead |
... | ... | |
60 | 60 |
if(specimen instanceof FieldUnit) { |
61 | 61 |
specimenDto = FieldUnitDTO.fromEntity((FieldUnit)specimen); |
62 | 62 |
} else { |
63 |
specimenDto = PreservedSpecimenDTO.fromEntity((DerivedUnit)specimen);
|
|
63 |
specimenDto = DerivedUnitDTO.fromEntity((DerivedUnit)specimen);
|
|
64 | 64 |
} |
65 | 65 |
} |
66 | 66 |
|
... | ... | |
83 | 83 |
return taxonUuid; |
84 | 84 |
} |
85 | 85 |
|
86 |
public DerivateDTO getSpecimenDto() {
|
|
86 |
public SpecimenOrObservationBaseDTO getSpecimenDto() {
|
|
87 | 87 |
return specimenDto; |
88 | 88 |
} |
89 | 89 |
|
Also available in: Unified diff
ref #9252 harmonizing SpecimenOrOberservationBase related DTOs - renaming classes