Class AbstractModelObserver<T extends EObject>

java.lang.Object
org.palladiosimulator.simulizar.modelobserver.AbstractModelObserver<T>
All Implemented Interfaces:
Extension, IModelObserver
Direct Known Subclasses:
AbstractResourceEnvironmentObserver, AbstractUsageEvolutionObserver, AbstractUsageModelObserver

public abstract class AbstractModelObserver<T extends EObject> extends Object implements IModelObserver
  • Field Details

    • LOGGER

      protected static final org.apache.log4j.Logger LOGGER
    • model

      protected Collection<T extends EObject> model
    • globalPCMInstance

      protected final org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition globalPCMInstance
  • Constructor Details

    • AbstractModelObserver

      protected AbstractModelObserver(org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition globalPCMInstance)
  • Method Details

    • selectObservees

      protected abstract Stream<T> selectObservees(org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition partition)
    • initialize

      public void initialize()
      Specified by:
      initialize in interface IModelObserver
    • unregister

      public void unregister()
      Specified by:
      unregister in interface IModelObserver
    • unset

      protected void unset(Notification notification)
    • resolve

      protected void resolve(Notification notification)
    • removingAdapter

      protected void removingAdapter(Notification notification)
    • removeMany

      protected void removeMany(Notification notification)
    • noFeatureID

      protected void noFeatureID(Notification notification)
    • eventTypeCount

      protected void eventTypeCount(Notification notification)
    • addMany

      protected void addMany(Notification notification)
    • add

      protected void add(Notification notification)
    • remove

      protected void remove(Notification notification)
    • set

      protected void set(Notification notification)
    • move

      protected void move(Notification notification)
    • setTaggedValue

      protected void setTaggedValue(Notification notification)
    • logDebugInfo

      protected void logDebugInfo(Notification notification)