Project

General

Profile

Revision ac9aaf6e

IDac9aaf6ed98f90458f8d4b8bacb0f3cb8dc6f1bf
Parent d78d3f02
Child 2c67983a

Added by Andreas Müller almost 7 years ago

minor cleanup

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/taxon/TaxonNode.java
42 42

  
43 43
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
44 44
import eu.etaxonomy.cdm.model.common.AnnotatableEntity;
45
import eu.etaxonomy.cdm.model.description.FeatureNode;
46 45
import eu.etaxonomy.cdm.model.reference.Reference;
47 46

  
48 47
/**
......
539 538
     */
540 539
    protected Set<TaxonNode> getAncestors(){
541 540
        Set<TaxonNode> nodeSet = new HashSet<TaxonNode>();
542

  
543

  
544 541
        nodeSet.add(this);
545

  
546 542
        if(this.getParent() != null){
547 543
            nodeSet.addAll(((TaxonNode) this.getParent()).getAncestors());
548 544
        }
549

  
550 545
        return nodeSet;
551 546
    }
552 547

  
......
589 584
    protected void setCountChildren(int countChildren) {
590 585
        this.countChildren = countChildren;
591 586
    }
592
//	public Taxon getOriginalConcept() {
593
//		return originalConcept;
594
//	}
595
//	public void setOriginalConcept(Taxon originalConcept) {
596
//		this.originalConcept = originalConcept;
597
//	}
587

  
598 588
    public Synonym getSynonymToBeUsed() {
599 589
        return synonymToBeUsed;
600 590
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)