public class InitEventPublisher extends java.lang.Object implements IEventPublisher
Modifier and Type | Field and 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 and Description |
---|
InitEventPublisher(java.lang.Object obj,
EventType addevent,
EventType remevent,
EventType changeevent,
MElement melem) |
Modifier and Type | Method and 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) |
protected java.lang.Object obj
protected EventType addevent
protected EventType remevent
protected EventType changeevent
protected MElement melement
protected IResultCommand<IFuture<java.lang.Void>,PropertyChangeEvent> eventadder
public InitEventPublisher(java.lang.Object obj, EventType addevent, EventType remevent, EventType changeevent, MElement melem)
public void entryAdded(java.lang.Object value, int index)
entryAdded
in interface IEventPublisher
public void entryRemoved(java.lang.Object value, int index)
entryRemoved
in interface IEventPublisher
public void entryChanged(java.lang.Object oldvalue, java.lang.Object newvalue, int index)
entryChanged
in interface IEventPublisher
public void entryAdded(java.lang.Object key, java.lang.Object value)
entryAdded
in interface IEventPublisher
public void entryRemoved(java.lang.Object key, java.lang.Object value)
entryRemoved
in interface IEventPublisher
public void entryChanged(java.lang.Object key, java.lang.Object oldvalue, java.lang.Object newvalue)
entryChanged
in interface IEventPublisher
public void observeValue(java.lang.Object val, IInternalAccess agent)
public void unobserveValue(java.lang.Object val, IInternalAccess agent)
public RuleSystem getRuleSystem(IInternalAccess agent)
protected EventType getAddEvent()
protected EventType getRemEvent()
protected EventType getChangeEvent()