public abstract class IlpAbstractEquipmentModel extends IlpAbstractGraphModel implements IlpEquipmentModel
IlpEquipmentModel
interface. It handles the notification of the model to listeners.
It does not constrain the type of objects being stored nor
the storage data structure. It is an abstract class.
IlpDefaultEquipmentModel is a concrete,
fully implemented subclass.
| Constructor and Description |
|---|
IlpAbstractEquipmentModel(Logger logger)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEquipmentModelListener(EquipmentModelListener listener)
Adds a listener that is notified each time a change to this model occurs.
|
void |
endChangingEquipmentModel()
Deprecated.
Please use
IlpAbstractDataSource.endBatch()
instead. |
void |
fireAttributeValueEvent(AttributeValueEvent event)
Notifies the listeners of an attribute value change event.
|
void |
fireEquipmentModelEvent(EquipmentModelEvent event)
Notifies the listeners of a model event.
|
boolean |
isRoot(IlpRepresentationObject object)
Deprecated.
Please check
getParent(object) method instead. |
void |
removeEquipmentModelListener(EquipmentModelListener listener)
Removes a previously added listener with
addEquipmentModelListener. |
void |
startChangingEquipmentModel()
Deprecated.
Please use
IlpAbstractDataSource.startBatch()
instead. |
addModelListener, addRootObject, addRootObjects, addToObservationScope, clear, endBatch, fireModelEvent, getChildren, getFrom, getObservationScope, getParent, getRootObjects, getTo, isInObservationScope, isLeaf, isLink, isNode, noteChildrenAdded, noteChildrenRemoved, noteEndChanged, noteRootAdded, noteRootRemoved, noteRootsAdded, noteRootsRemoved, removeFromObservationScope, removeModelListener, removeRootObject, removeRootObjects, startBatchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildren, getFrom, getParent, getRootObjects, getTo, isLeaf, isLink, isNodepublic IlpAbstractEquipmentModel(Logger logger)
@Deprecated public void startChangingEquipmentModel()
IlpAbstractDataSource.startBatch()
instead.fireEquipmentModelEvent
delay the events until the next call to
endChangingEquipmentModel.IlpAbstractDataSource.startBatch(),
endChangingEquipmentModel()@Deprecated public void endChangingEquipmentModel()
IlpAbstractDataSource.endBatch()
instead.startChangingEquipmentModel.IlpAbstractDataSource.endBatch(),
startChangingEquipmentModel()@Deprecated public boolean isRoot(IlpRepresentationObject object)
getParent(object) method instead.true if the given object is a root object.isRoot in interface IlpEquipmentModeltrue for a given root object. It returns false
otherwise.public void fireEquipmentModelEvent(EquipmentModelEvent event)
public void fireAttributeValueEvent(AttributeValueEvent event)
fireAttributeValueEvent in class IlpAbstractGraphModelpublic void addEquipmentModelListener(EquipmentModelListener listener)
addEquipmentModelListener in interface IlpEquipmentModellistener - The listener to be added.public void removeEquipmentModelListener(EquipmentModelListener listener)
addEquipmentModelListener.removeEquipmentModelListener in interface IlpEquipmentModellistener - The listener to be removed.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.