|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpEquipmentModel
The IlpEquipmentModel interface describes the equipment
component object hierarchy and its associations.
The model contains a set of top-level objects (accessible through
getRootObjects) and child objects
(getChildren method).
The addition (or removal) of top objects to (or from) the model must be
signaled. This is done through EquipmentModelEvents of type
ROOT_OBJECT_ADDED, ROOT_OBJECT_REMOVED; and for
lower-level objects, through EquipmentContainerEvents to the
appropriate parent object.
| Method Summary | |
|---|---|
void |
addEquipmentModelListener(EquipmentModelListener listener)
Registers an equipment model listener. |
boolean |
isRoot(IlpRepresentationObject object)
Deprecated. Please check getParent(object) method instead. |
void |
removeEquipmentModelListener(EquipmentModelListener listener)
Unregisters an equipment model listener. |
| Methods inherited from interface ilog.cpl.graph.IlpGraphModel |
|---|
getChildren, getFrom, getParent, getRootObjects, getTo, isLeaf, isLink, isNode |
| Method Detail |
|---|
void addEquipmentModelListener(EquipmentModelListener listener)
listener - The listener to be registered.void removeEquipmentModelListener(EquipmentModelListener listener)
listener - The listener to be unregistered.boolean isRoot(IlpRepresentationObject object)
getParent(object) method instead.
true if the given object is a root object.
true for a given root object; false
otherwise.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||