Package jadex.bdiv3.runtime.wrappers
Class InitEventPublisher
- java.lang.Object
-
- jadex.bdiv3.runtime.wrappers.InitEventPublisher
-
- All Implemented Interfaces:
IEventPublisher
public class InitEventPublisher extends java.lang.Object implements IEventPublisher
-
-
Field Summary
Fields Modifier and Type Field Description protected EventType
addevent
The add event name.protected EventType
changeevent
The change event name.protected IResultCommand<IFuture<java.lang.Void>,PropertyChangeEvent>
eventadder
The event adder.protected MElement
melement
The melement.protected java.lang.Object
obj
protected EventType
remevent
The remove event name.
-
Constructor Summary
Constructors Constructor Description InitEventPublisher(java.lang.Object obj, EventType addevent, EventType remevent, EventType changeevent, MElement melem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
entryAdded(java.lang.Object value, int index)
An entry was added to the collection.void
entryAdded(java.lang.Object key, java.lang.Object value)
An entry was added to the map.void
entryChanged(java.lang.Object oldvalue, java.lang.Object newvalue, int index)
An entry was changed in the collection.void
entryChanged(java.lang.Object key, java.lang.Object oldvalue, java.lang.Object newvalue)
An entry was changed in the map.void
entryRemoved(java.lang.Object value, int index)
An entry was removed from the collection.void
entryRemoved(java.lang.Object key, java.lang.Object value)
An entry was removed from the map.protected EventType
getAddEvent()
Get the addevent.protected EventType
getChangeEvent()
Get the changeevent.protected EventType
getRemEvent()
Get the remevent.RuleSystem
getRuleSystem(IInternalAccess agent)
Get the rule system.void
observeValue(java.lang.Object val, IInternalAccess agent)
void
unobserveValue(java.lang.Object val, IInternalAccess agent)
-
-
-
Field Detail
-
obj
protected java.lang.Object obj
-
addevent
protected EventType addevent
The add event name.
-
remevent
protected EventType remevent
The remove event name.
-
changeevent
protected EventType changeevent
The change event name.
-
melement
protected MElement melement
The melement.
-
eventadder
protected IResultCommand<IFuture<java.lang.Void>,PropertyChangeEvent> eventadder
The event adder.
-
-
Method Detail
-
entryAdded
public void entryAdded(java.lang.Object value, int index)
An entry was added to the collection.- Specified by:
entryAdded
in interfaceIEventPublisher
-
entryRemoved
public void entryRemoved(java.lang.Object value, int index)
An entry was removed from the collection.- Specified by:
entryRemoved
in interfaceIEventPublisher
-
entryChanged
public void entryChanged(java.lang.Object oldvalue, java.lang.Object newvalue, int index)
An entry was changed in the collection.- Specified by:
entryChanged
in interfaceIEventPublisher
-
entryAdded
public void entryAdded(java.lang.Object key, java.lang.Object value)
An entry was added to the map.- Specified by:
entryAdded
in interfaceIEventPublisher
-
entryRemoved
public void entryRemoved(java.lang.Object key, java.lang.Object value)
An entry was removed from the map.- Specified by:
entryRemoved
in interfaceIEventPublisher
-
entryChanged
public void entryChanged(java.lang.Object key, java.lang.Object oldvalue, java.lang.Object newvalue)
An entry was changed in the map.- Specified by:
entryChanged
in interfaceIEventPublisher
-
observeValue
public void observeValue(java.lang.Object val, IInternalAccess agent)
-
unobserveValue
public void unobserveValue(java.lang.Object val, IInternalAccess agent)
-
getRuleSystem
public RuleSystem getRuleSystem(IInternalAccess agent)
Get the rule system.- Returns:
- The rule system.
-
getAddEvent
protected EventType getAddEvent()
Get the addevent.- Returns:
- The addevent
-
getRemEvent
protected EventType getRemEvent()
Get the remevent.- Returns:
- The remevent
-
getChangeEvent
protected EventType getChangeEvent()
Get the changeevent.- Returns:
- The changeevent
-
-