Revision e3a4a3ff
Added by Andreas Müller almost 7 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/lazyloading/PropertyPathsTest.java | ||
---|---|---|
18 | 18 |
|
19 | 19 |
import eu.etaxonomy.cdm.api.service.ITaxonService; |
20 | 20 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
21 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
|
|
21 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
|
22 | 22 |
import eu.etaxonomy.cdm.model.taxon.Synonym; |
23 | 23 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
24 | 24 |
import eu.etaxonomy.cdm.model.taxon.TaxonBase; |
... | ... | |
52 | 52 |
for(TaxonRelationship rel : taxonRelations) { |
53 | 53 |
rel.getFromTaxon().getName().getStatus().size(); |
54 | 54 |
} |
55 |
Set<TaxonNameBase> typifiedNames = taxon.getName().getHomotypicalGroup().getTypifiedNames();
|
|
56 |
for(TaxonNameBase name : typifiedNames) {
|
|
55 |
Set<TaxonName> typifiedNames = taxon.getName().getHomotypicalGroup().getTypifiedNames(); |
|
56 |
for(TaxonName name : typifiedNames) { |
|
57 | 57 |
Set<TaxonBase> taxonBases = name.getTaxonBases(); |
58 | 58 |
for(TaxonBase tb : taxonBases) { |
59 | 59 |
//TODO needs to be adapted after synonym relationship removal |
Also available in: Unified diff
ref #6446 merge taxon name subclasses in TaxEditor