Package psidev.psi.mi.jami.listener
Interface OntologyTermChangeListener
-
- All Superinterfaces:
AliasesChangeListener<CvTerm>,AnnotationsChangeListener<CvTerm>,CvTermChangeListener,EventListener,IdentifiersChangeListener<CvTerm>,XrefsChangeListener<CvTerm>
- All Known Subinterfaces:
OntologyTermEnricherListener
- All Known Implementing Classes:
OntologyTermChangeLogger,OntologyTermEnricherListenerManager,OntologyTermEnricherLogger,OntologyTermEnricherStatisticsWriter
public interface OntologyTermChangeListener extends CvTermChangeListener
OntologyTerm change listener- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAddedChild(OntologyTerm o, OntologyTerm added)Listen to the event where a child has been added to the object children.voidonAddedParent(OntologyTerm o, OntologyTerm added)Listen to the event where a parent has been added to the object parents.voidonDefinitionUpdate(OntologyTerm cv, String oldDef)Listen to the event where the definition of a cv term has been changed.voidonRemovedChild(OntologyTerm o, OntologyTerm removed)Listen to the event where a child has been removed from the object children.voidonRemovedParent(OntologyTerm o, OntologyTerm removed)Listen to the event where a parent has been removed from the object parents.-
Methods inherited from interface psidev.psi.mi.jami.listener.AliasesChangeListener
onAddedAlias, onRemovedAlias
-
Methods inherited from interface psidev.psi.mi.jami.listener.AnnotationsChangeListener
onAddedAnnotation, onRemovedAnnotation
-
Methods inherited from interface psidev.psi.mi.jami.listener.CvTermChangeListener
onFullNameUpdate, onMIIdentifierUpdate, onMODIdentifierUpdate, onPARIdentifierUpdate, onShortNameUpdate
-
Methods inherited from interface psidev.psi.mi.jami.listener.IdentifiersChangeListener
onAddedIdentifier, onRemovedIdentifier
-
Methods inherited from interface psidev.psi.mi.jami.listener.XrefsChangeListener
onAddedXref, onRemovedXref
-
-
-
-
Method Detail
-
onAddedParent
void onAddedParent(OntologyTerm o, OntologyTerm added)
Listen to the event where a parent has been added to the object parents.- Parameters:
o- : updated termadded- : added parent
-
onRemovedParent
void onRemovedParent(OntologyTerm o, OntologyTerm removed)
Listen to the event where a parent has been removed from the object parents.- Parameters:
o- : updated termremoved- : removed parent
-
onAddedChild
void onAddedChild(OntologyTerm o, OntologyTerm added)
Listen to the event where a child has been added to the object children.- Parameters:
o- : updated termadded- : added child
-
onRemovedChild
void onRemovedChild(OntologyTerm o, OntologyTerm removed)
Listen to the event where a child has been removed from the object children.- Parameters:
o- : updated termremoved- : removed child
-
onDefinitionUpdate
void onDefinitionUpdate(OntologyTerm cv, String oldDef)
Listen to the event where the definition of a cv term has been changed. If oldDefinition is null, it means that a definition has been added to the cv term. If the definition of the cv term is null, it means that the definition of the cv term has been removed- Parameters:
cv- : updated termoldDef- : old definition
-
-