public class EventReificator extends Object implements jadex.rules.state.IOAVStateListener
Constructor and Description |
---|
EventReificator(jadex.rules.state.IOAVState state,
Object agent)
Create and register an event reificator.
|
Modifier and Type | Method and Description |
---|---|
void |
addObservedElement(Object element)
Add an element to the list of observed elements.
|
void |
objectAdded(Object id,
jadex.rules.state.OAVObjectType type,
boolean root)
Notification when an object has been added to the state.
|
void |
objectModified(Object id,
jadex.rules.state.OAVObjectType type,
jadex.rules.state.OAVAttributeType attr,
Object oldvalue,
Object newvalue)
Notification when an attribute value of an object has been set.
|
void |
objectRemoved(Object id,
jadex.rules.state.OAVObjectType type)
Notification when an object has been removed from state.
|
void |
removeObservedElement(Object element)
Remove an element from the list of observed elements.
|
public EventReificator(jadex.rules.state.IOAVState state, Object agent)
public void objectModified(Object id, jadex.rules.state.OAVObjectType type, jadex.rules.state.OAVAttributeType attr, Object oldvalue, Object newvalue)
objectModified
in interface jadex.rules.state.IOAVStateListener
id
- The object id.type
- The object type.attr
- The attribute type.oldvalue
- The oldvalue.newvalue
- The newvalue.public void objectAdded(Object id, jadex.rules.state.OAVObjectType type, boolean root)
objectAdded
in interface jadex.rules.state.IOAVStateListener
id
- The object id.type
- The object type.public void objectRemoved(Object id, jadex.rules.state.OAVObjectType type)
objectRemoved
in interface jadex.rules.state.IOAVStateListener
id
- The object id.type
- The object type.public void addObservedElement(Object element)
public void removeObservedElement(Object element)
Copyright © 2012. All Rights Reserved.