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 Summary
Fields Modifier and Type Field Description protected org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition
globalPCMInstance
protected static org.apache.log4j.Logger
LOGGER
protected Collection<T>
model
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractModelObserver(org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition globalPCMInstance)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
add(Notification notification)
protected void
addMany(Notification notification)
protected void
eventTypeCount(Notification notification)
void
initialize()
protected void
logDebugInfo(Notification notification)
protected void
move(Notification notification)
protected void
noFeatureID(Notification notification)
protected void
remove(Notification notification)
protected void
removeMany(Notification notification)
protected void
removingAdapter(Notification notification)
protected void
resolve(Notification notification)
protected abstract Stream<T>
selectObservees(org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition partition)
protected void
set(Notification notification)
protected void
setTaggedValue(Notification notification)
void
unregister()
protected void
unset(Notification notification)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
selectObservees
protected abstract Stream<T> selectObservees(org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition partition)
-
initialize
public void initialize()
- Specified by:
initialize
in interfaceIModelObserver
-
unregister
public void unregister()
- Specified by:
unregister
in interfaceIModelObserver
-
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)
-
-