Package psidev.psi.mi.jami.listener
Interface CvTermChangeListener
-
- All Superinterfaces:
AliasesChangeListener<CvTerm>
,AnnotationsChangeListener<CvTerm>
,EventListener
,IdentifiersChangeListener<CvTerm>
,XrefsChangeListener<CvTerm>
- All Known Subinterfaces:
CvTermEnricherListener<C>
,OntologyTermChangeListener
,OntologyTermEnricherListener
,SourceChangeListener
,SourceEnricherListener
- All Known Implementing Classes:
CvTermChangeLogger
,CvTermEnricherListenerManager
,CvTermEnricherLogger
,CvTermEnricherStatisticsWriter
,OntologyTermChangeLogger
,OntologyTermEnricherListenerManager
,OntologyTermEnricherLogger
,OntologyTermEnricherStatisticsWriter
,SourceChangeLogger
,SourceEnricherListenerManager
,SourceEnricherLogger
,SourceEnricherStatisticsWriter
public interface CvTermChangeListener extends AnnotationsChangeListener<CvTerm>, XrefsChangeListener<CvTerm>, IdentifiersChangeListener<CvTerm>, AliasesChangeListener<CvTerm>
CvTerm 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 void
onFullNameUpdate(CvTerm cv, String oldFullName)
Listen to the event where the fullName of a cv term has been changed.void
onMIIdentifierUpdate(CvTerm cv, String oldMI)
Listen to the event where the MI identifier of a cv term has been changed.void
onMODIdentifierUpdate(CvTerm cv, String oldMOD)
Listen to the event where the MOD identifier of a cv term has been changed.void
onPARIdentifierUpdate(CvTerm cv, String oldPAR)
Listen to the event where the PAR identifier of a cv term has been changed.void
onShortNameUpdate(CvTerm cv, String oldShortName)
Listen to the event where the shortName of a cv term has been changed.-
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.IdentifiersChangeListener
onAddedIdentifier, onRemovedIdentifier
-
Methods inherited from interface psidev.psi.mi.jami.listener.XrefsChangeListener
onAddedXref, onRemovedXref
-
-
-
-
Method Detail
-
onShortNameUpdate
void onShortNameUpdate(CvTerm cv, String oldShortName)
Listen to the event where the shortName of a cv term has been changed.- Parameters:
cv
- : updated cvoldShortName
- : old shortName
-
onFullNameUpdate
void onFullNameUpdate(CvTerm cv, String oldFullName)
Listen to the event where the fullName of a cv term has been changed. If oldFullName is null, it means that the fullName of the cv term has been initialised. If the current fullName of the cv term is null, it means that the fullName has been reset- Parameters:
cv
- : updated cvoldFullName
- : the old fullName
-
onMIIdentifierUpdate
void onMIIdentifierUpdate(CvTerm cv, String oldMI)
Listen to the event where the MI identifier of a cv term has been changed. If oldMI is null, it means that a MI identifier has been added to the cv term. If the MI of the cv term is null, it means that the MI identifier of the cv term has been removed- Parameters:
cv
- : updated cvoldMI
- : the old MI
-
onMODIdentifierUpdate
void onMODIdentifierUpdate(CvTerm cv, String oldMOD)
Listen to the event where the MOD identifier of a cv term has been changed. If oldMOD is null, it means that a MOD identifier has been added to the cv term. If the MOD of the cv term is null, it means that the MOD identifier of the cv term has been removed- Parameters:
cv
- : updated cvoldMOD
- : the old MOD
-
onPARIdentifierUpdate
void onPARIdentifierUpdate(CvTerm cv, String oldPAR)
Listen to the event where the PAR identifier of a cv term has been changed. If oldPAR is null, it means that a PAR identifier has been added to the cv term. If the PAR of the cv term is null, it means that the PAR identifier of the cv term has been removed- Parameters:
cv
- : updated cvoldPAR
- : the old PAR
-
-