ref #6220 javadoc
authorAndreas Müller <a.mueller@bgbm.org>
Thu, 24 Nov 2016 12:44:09 +0000 (13:44 +0100)
committerAndreas Müller <a.mueller@bgbm.org>
Thu, 24 Nov 2016 12:44:09 +0000 (13:44 +0100)
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/taxon/Taxon.java

index a20d2bb5a8ace76f8378eed3c9d61352fdccbfc6..c77e59eccabd32ff505cf44e66d12be3f459a808 100644 (file)
@@ -1225,6 +1225,11 @@ public class Taxon
         return result;
     }
 
+    /**
+     * {@inheritDoc}.
+     * <BR>Also returns <code>false</code> if it is a misapplied name or has a similar concept relationship that
+     * is similar to synonym relationship (shows up in the synonymy of applications)
+     */
     @Override
     @Transient
     public boolean isOrphaned() {
@@ -1235,7 +1240,7 @@ public class Taxon
             }else{
                 for (TaxonRelationship rel : getRelationsFromThisTaxon()){
                     if (rel.getType() != null && ! rel.getType().isConceptRelationship()){
-                        return false;
+                        return false;  //a synonym relationship type similar relationship exists => not orphaned
                     }
                 }
                 return true;  //all relations are real concept relations and therefore not relevant