Package psidev.psi.mi.jami.listener.impl
Class EntityChangeLogger<T extends Entity>
- java.lang.Object
-
- psidev.psi.mi.jami.listener.impl.EntityChangeLogger<T>
-
- All Implemented Interfaces:
EventListener
,EntityChangeListener<T>
,EntityInteractorChangeListener
- Direct Known Subclasses:
EntityEnricherLogger
public class EntityChangeLogger<T extends Entity> extends Object implements EntityChangeListener<T>
This listener will just interactor change events- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description EntityChangeLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onAddedCausalRelationship(T entity, CausalRelationship added)
onAddedCausalRelationshipvoid
onAddedFeature(T entity, Feature added)
onAddedFeaturevoid
onInteractorUpdate(Entity entity, Interactor oldInteractor)
onInteractorUpdatevoid
onRemovedCausalRelationship(T entity, CausalRelationship removed)
onRemovedCausalRelationshipvoid
onRemovedFeature(T entity, Feature removed)
onRemovedFeaturevoid
onStoichiometryUpdate(T entity, Stoichiometry oldStoichiometry)
onStoichiometryUpdate
-
-
-
Method Detail
-
onStoichiometryUpdate
public void onStoichiometryUpdate(T entity, Stoichiometry oldStoichiometry)
onStoichiometryUpdate
- Specified by:
onStoichiometryUpdate
in interfaceEntityChangeListener<T extends Entity>
- Parameters:
entity
- : the updated participantoldStoichiometry
- : old stoichiometry
-
onAddedCausalRelationship
public void onAddedCausalRelationship(T entity, CausalRelationship added)
onAddedCausalRelationship
- Specified by:
onAddedCausalRelationship
in interfaceEntityChangeListener<T extends Entity>
- Parameters:
entity
- : the updated participantadded
- : old causal relationship
-
onRemovedCausalRelationship
public void onRemovedCausalRelationship(T entity, CausalRelationship removed)
onRemovedCausalRelationship
- Specified by:
onRemovedCausalRelationship
in interfaceEntityChangeListener<T extends Entity>
- Parameters:
entity
- : the updated participantremoved
- : removed causal relationship
-
onAddedFeature
public void onAddedFeature(T entity, Feature added)
onAddedFeature
- Specified by:
onAddedFeature
in interfaceEntityChangeListener<T extends Entity>
- Parameters:
entity
- : the updated participantadded
- : added feature
-
onRemovedFeature
public void onRemovedFeature(T entity, Feature removed)
onRemovedFeature
- Specified by:
onRemovedFeature
in interfaceEntityChangeListener<T extends Entity>
- Parameters:
entity
- : the updated participantremoved
- : removed feature
-
onInteractorUpdate
public void onInteractorUpdate(Entity entity, Interactor oldInteractor)
onInteractorUpdate
- Specified by:
onInteractorUpdate
in interfaceEntityInteractorChangeListener
- Parameters:
entity
- : updated entityoldInteractor
- : old interactor
-
-