Class MinimalOntologyTermUpdater
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher<OntologyTerm>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalOntologyTermEnricher
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalOntologyTermUpdater
-
- All Implemented Interfaces:
CvTermEnricher<OntologyTerm>
,MIEnricher<OntologyTerm>
- Direct Known Subclasses:
FullOntologyTermUpdater
public class MinimalOntologyTermUpdater extends MinimalOntologyTermEnricher
Provides minimal update of ontologYTerm. - update minimal properties of Cv Term. See description in MinimalCvTermUpdater - update children of a term. It will use DefaultCvTermComparator to compare children and add missing children and remove children that are not in fetched ontology term. It will enrich all the children of the ontologyTerm It will ignore all other properties of an ontologyTerm- Since:
29/01/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Modifier Constructor Description MinimalOntologyTermUpdater(OntologyTermFetcher cvTermFetcher)
Constructor for MinimalOntologyTermUpdater.protected
MinimalOntologyTermUpdater(MinimalCvTermEnricher<OntologyTerm> cvEnricher)
Constructor for MinimalOntologyTermUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processChildren(OntologyTerm cvTermToEnrich, OntologyTerm cvTermFetched)
processChildren.protected void
processDefinition(OntologyTerm cvTermToEnrich, OntologyTerm cvTermFetched)
processDefinition.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalOntologyTermEnricher
enrich, enrich, enrichChild, enrichRelatedTerms, find, getCvEnricher, getCvTermEnricherListener, getCvTermFetcher, mergeOntologyTerms, onEnrichedVersionNotFound, processOntologyTerm, setCvTermEnricherListener
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher
enrich
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.enricher.MIEnricher
enrich
-
-
-
-
Constructor Detail
-
MinimalOntologyTermUpdater
public MinimalOntologyTermUpdater(OntologyTermFetcher cvTermFetcher)
Constructor for MinimalOntologyTermUpdater.
- Parameters:
cvTermFetcher
- aOntologyTermFetcher
object.
-
MinimalOntologyTermUpdater
protected MinimalOntologyTermUpdater(MinimalCvTermEnricher<OntologyTerm> cvEnricher)
Constructor for MinimalOntologyTermUpdater.
- Parameters:
cvEnricher
- aMinimalCvTermEnricher
object.
-
-
Method Detail
-
processChildren
protected void processChildren(OntologyTerm cvTermToEnrich, OntologyTerm cvTermFetched) throws EnricherException
processChildren.
- Overrides:
processChildren
in classMinimalOntologyTermEnricher
- Parameters:
cvTermToEnrich
- aOntologyTerm
object.cvTermFetched
- aOntologyTerm
object.- Throws:
EnricherException
- if any.
-
processDefinition
protected void processDefinition(OntologyTerm cvTermToEnrich, OntologyTerm cvTermFetched) throws EnricherException
processDefinition.
- Overrides:
processDefinition
in classMinimalOntologyTermEnricher
- Parameters:
cvTermToEnrich
- aOntologyTerm
object.cvTermFetched
- aOntologyTerm
object.- Throws:
EnricherException
- if any.
-
-