Package psidev.psi.mi.jami.listener.impl
Class PolymerChangeLogger<P extends Polymer>
- java.lang.Object
-
- psidev.psi.mi.jami.listener.impl.InteractorChangeLogger<P>
-
- psidev.psi.mi.jami.listener.impl.PolymerChangeLogger<P>
-
- All Implemented Interfaces:
EventListener
,AliasesChangeListener<P>
,AnnotationsChangeListener<P>
,ChecksumsChangeListener<P>
,IdentifiersChangeListener<P>
,InteractorChangeListener<P>
,PolymerChangeListener<P>
,XrefsChangeListener<P>
- Direct Known Subclasses:
PolymerEnricherLogger
,ProteinChangeLogger
public class PolymerChangeLogger<P extends Polymer> extends InteractorChangeLogger<P> implements PolymerChangeListener<P>
This listener will just protein change events- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description PolymerChangeLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onSequenceUpdate(P protein, String oldSequence)
Listen to the event where the sequence of a protein has been changed.-
Methods inherited from class psidev.psi.mi.jami.listener.impl.InteractorChangeLogger
onAddedAlias, onAddedAnnotation, onAddedChecksum, onAddedIdentifier, onAddedXref, onFullNameUpdate, onInteractorTypeUpdate, onOrganismUpdate, onRemovedAlias, onRemovedAnnotation, onRemovedChecksum, onRemovedIdentifier, onRemovedXref, onShortNameUpdate
-
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.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.ChecksumsChangeListener
onAddedChecksum, onRemovedChecksum
-
Methods inherited from interface psidev.psi.mi.jami.listener.IdentifiersChangeListener
onAddedIdentifier, onRemovedIdentifier
-
Methods inherited from interface psidev.psi.mi.jami.listener.InteractorChangeListener
onFullNameUpdate, onInteractorTypeUpdate, onOrganismUpdate, onShortNameUpdate
-
Methods inherited from interface psidev.psi.mi.jami.listener.XrefsChangeListener
onAddedXref, onRemovedXref
-
-
-
-
Method Detail
-
onSequenceUpdate
public void onSequenceUpdate(P protein, String oldSequence)
Listen to the event where the sequence of a protein has been changed. If oldSequence is null, it means that the sequence has been initialised. If the sequence of the protein is null, it means that the sequence of the protein has been reset- Specified by:
onSequenceUpdate
in interfacePolymerChangeListener<P extends Polymer>
- Parameters:
protein
- : updated polymeroldSequence
- : old sequence
-
-