ilog.cpl.equipment
Interface IlpMutableEquipmentModel

All Superinterfaces:
IlpEquipmentModel, IlpGraphModel, IlpMutableGraphModel
All Known Implementing Classes:
IlpDefaultEquipmentModel

public interface IlpMutableEquipmentModel
extends IlpEquipmentModel, IlpMutableGraphModel

The IlpMutableEquipmentModel class defines access methods for equipment model implementations.

It is used internally to define a common API to set values in an equipment model.

The addition (or removal) of top objects to (from) the model must be signaled, which is done through EquipmentModelEvents of type ROOT_OBJECT_ADDED, ROOT_OBJECT_REMOVED; and, for lower-level objects, through EquipmentContainerEvents to the appropriate parent object.

Since:
JTGO 3.0

Method Summary
 void endChangingEquipmentModel()
          Deprecated. Use IlpAbstractDataSource.endBatch() instead.
 void startChangingEquipmentModel()
          Deprecated. Use IlpAbstractDataSource.startBatch() instead.
 
Methods inherited from interface ilog.cpl.equipment.IlpEquipmentModel
addEquipmentModelListener, isRoot, removeEquipmentModelListener
 
Methods inherited from interface ilog.cpl.graph.IlpGraphModel
getChildren, getFrom, getParent, getRootObjects, getTo, isLeaf, isLink, isNode
 
Methods inherited from interface ilog.cpl.graph.IlpMutableGraphModel
addRootObject, addRootObjects, clear, removeRootObject, removeRootObjects
 
Methods inherited from interface ilog.cpl.graph.IlpGraphModel
getChildren, getFrom, getParent, getRootObjects, getTo, isLeaf, isLink, isNode
 

Method Detail

startChangingEquipmentModel

void startChangingEquipmentModel()
Deprecated. Use IlpAbstractDataSource.startBatch() instead.

Tells the model temporarily not to send events.

After this call, calls to fireEquipmentModelEvent delay the events until the next call to endChangingEquipmentModel.

See Also:
IlpAbstractDataSource.startBatch(), endChangingEquipmentModel()
Deprecated Since:
JTGO 4.0

endChangingEquipmentModel

void endChangingEquipmentModel()
Deprecated. Use IlpAbstractDataSource.endBatch() instead.

Tells the model that a temporary inhibition of events is terminated, and sends the events buffered since the last call to startChangingEquipmentModel.

See Also:
IlpAbstractDataSource.endBatch(), startChangingEquipmentModel()
Deprecated Since:
JTGO 4.0


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.