Project

General

Profile

« Previous | Next » 

Revision 11e38aae

Added by Andreas Müller over 3 years ago

ref #9228 , ref #4866 some fixes for subtree cloning

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/taxon/TaxonRelationshipType.java
188 188
        return (allMisappliedNameTypes().contains(this));
189 189
    }
190 190

  
191
    /**
192
     * <code>true</code> if this relationship type is any
193
     * of the {@link #isAnyMisappliedName() misapplied name relationships} or
194
     * any of the {@link #isAnySynonym() (pro parte) synonym relationships}
195
     */
196
    public boolean isAnySynonymOrMisappliedName(){
197
        return (allMisappliedNameTypes().contains(this) || allSynonymTypes().contains(this));
198
    }
199

  
191 200

  
192 201
    /**
193 202
     * <code>true</code> if this relationship type is any

Also available in: Unified diff