public interface IlrRFModel extends IlrRFElement
IlrRFModel represents the model of the graph in a rule flow.
An IlrRFModel instance contains a list of
IlrRFModelElement objects.
This list is divided into IlrRFNode and
IlrRFTransition objects.
A rule flow model gathers information on the graph of the rule flow only.
Model modification, that is, adding an element or modifying an element, is propagated to the registered listeners only when the modification is performed through the model.
Note: this interface is provided for documentation purposes, do not implement it directly.
LABEL_PROPERTYINSTANCE, TRANSIENT, VOLATILE| Modifier and Type | Method and Description |
|---|---|
void |
addModelListener(IlrRFModelListener listener)
Adds a new listener to this model.
|
IlrRFModel |
clear()
Clears this model instance.
|
java.util.List<IlrRFModelListener> |
getModelListeners()
Returns the list of model listeners attached to this object.
|
IlrRFList<IlrRFNode> |
getNodeList()
Returns the list of nodes contained in this model object.
|
IlrRFList<IlrRFTask> |
getTaskList()
Returns all the activity definitions attached to this model.
|
IlrRFList<IlrRFTransition> |
getTransitionList()
Returns all the transitions connecting the nodes of this model.
|
boolean |
isAdjusting()
Checks if the ruleflow is performing a batch change.
|
boolean |
isEventFiring()
Checks if this model object fires events when a modification occurs.
|
void |
removeModelListener(IlrRFModelListener listener)
Removes a listener from this model.
|
boolean |
setAdjusting(boolean adjusting)
Sets if the ruleflow is performing a batch change.
|
void |
setEventFiring(boolean eventFiring)
Sets if this model object should fire events when a modification
occurs.
|
acceptaddProperties, clearProperties, clearVolatileProperties, clone, getProperties, getProperty, setPropertyIlrRFModel clear()
IlrRFModel
instance.IlrRFList<IlrRFNode> getNodeList()
IlrRFList<IlrRFTransition> getTransitionList()
IlrRFNodeIlrRFList<IlrRFTask> getTaskList()
void addModelListener(IlrRFModelListener listener)
listener - The new listener.void removeModelListener(IlrRFModelListener listener)
listener - The listener to remove.java.util.List<IlrRFModelListener> getModelListeners()
boolean isAdjusting()
true
is returned.boolean setAdjusting(boolean adjusting)
adjusting - Set to true to indicate that this object is
performing a batch change.boolean isEventFiring()
true is returned.void setEventFiring(boolean eventFiring)
eventFiring - Set to true so this rf model object
fires events when a modification occurs.© Copyright IBM Corp. 1987, 2017