|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graph.IlpAbstractGraphModel
ilog.cpl.equipment.IlpAbstractEquipmentModel
public abstract class IlpAbstractEquipmentModel
This class is an implementation of the 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 Summary | |
|---|---|
IlpAbstractEquipmentModel(Logger logger)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.cpl.graph.IlpGraphModel |
|---|
getChildren, getFrom, getParent, getRootObjects, getTo, isLeaf, isLink, isNode |
| Constructor Detail |
|---|
public IlpAbstractEquipmentModel(Logger logger)
| Method Detail |
|---|
public void startChangingEquipmentModel()
IlpAbstractDataSource.startBatch()
instead.
fireEquipmentModelEvent
delay the events until the next call to
endChangingEquipmentModel.
IlpAbstractDataSource.startBatch(),
endChangingEquipmentModel()public void endChangingEquipmentModel()
IlpAbstractDataSource.endBatch()
instead.
startChangingEquipmentModel.
IlpAbstractDataSource.endBatch(),
startChangingEquipmentModel()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.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||