Project

General

Profile

Revision 287abc0f

ID287abc0fca3c0f1a63ee07673be56be82dadf98b
Parent 7a72a0fe
Child f8e34b82

Added by Andreas Müller over 2 years ago

ref #7386 fix error in new getRelatedNames method

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/TaxonName.java
67 67
import eu.etaxonomy.cdm.model.agent.INomenclaturalAuthor;
68 68
import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
69 69
import eu.etaxonomy.cdm.model.common.CdmBase;
70
import eu.etaxonomy.cdm.model.common.DefinedTermBase;
70 71
import eu.etaxonomy.cdm.model.common.IIntextReferenceTarget;
71 72
import eu.etaxonomy.cdm.model.common.IParsable;
72 73
import eu.etaxonomy.cdm.model.common.IRelated;
73 74
import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
74 75
import eu.etaxonomy.cdm.model.common.RelationshipBase;
75 76
import eu.etaxonomy.cdm.model.common.RelationshipBase.Direction;
77
import eu.etaxonomy.cdm.model.common.TermType;
78
import eu.etaxonomy.cdm.model.common.TermVocabulary;
76 79
import eu.etaxonomy.cdm.model.description.IDescribable;
77 80
import eu.etaxonomy.cdm.model.description.TaxonNameDescription;
78 81
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
......
2055 2058
     */
2056 2059
    public Set<TaxonName> getRelatedNames(Direction direction, NameRelationshipType type) {
2057 2060

  
2058
        return getRelatedNames(relationsWithThisName(direction), NameRelationshipType.BASIONYM());
2061
        return getRelatedNames(relationsWithThisName(direction), type);
2059 2062
    }
2060 2063

  
2061 2064
    /**

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)