Project

General

Profile

Revision c6c4ab3a

IDc6c4ab3aacc492f0b858bc76c59cd796d06ebf34
Parent 4b80789a
Child ed27e451

Added by Andreas Müller about 4 years ago

ref #6220 javadoc

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/taxon/Taxon.java
1225 1225
        return result;
1226 1226
    }
1227 1227

  
1228
    /**
1229
     * {@inheritDoc}.
1230
     * <BR>Also returns <code>false</code> if it is a misapplied name or has a similar concept relationship that
1231
     * is similar to synonym relationship (shows up in the synonymy of applications)
1232
     */
1228 1233
    @Override
1229 1234
    @Transient
1230 1235
    public boolean isOrphaned() {
......
1235 1240
            }else{
1236 1241
                for (TaxonRelationship rel : getRelationsFromThisTaxon()){
1237 1242
                    if (rel.getType() != null && ! rel.getType().isConceptRelationship()){
1238
                        return false;
1243
                        return false;  //a synonym relationship type similar relationship exists => not orphaned
1239 1244
                    }
1240 1245
                }
1241 1246
                return true;  //all relations are real concept relations and therefore not relevant

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)