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, startBatch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getFrom, getParent, getRootObjects, getTo, isLeaf, isLink, isNode
public 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 IlpEquipmentModel
true
for a given root object. It returns false
otherwise.public void fireEquipmentModelEvent(EquipmentModelEvent event)
public void fireAttributeValueEvent(AttributeValueEvent event)
fireAttributeValueEvent
in class IlpAbstractGraphModel
public void addEquipmentModelListener(EquipmentModelListener listener)
addEquipmentModelListener
in interface IlpEquipmentModel
listener
- The listener to be added.public void removeEquipmentModelListener(EquipmentModelListener listener)
addEquipmentModelListener
.removeEquipmentModelListener
in interface IlpEquipmentModel
listener
- The listener to be removed.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.