public interface IlpEquipmentModel extends IlpGraphModel
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.
Modifier and Type | Method and Description |
---|---|
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.
|
getChildren, getFrom, getParent, getRootObjects, getTo, isLeaf, isLink, isNode
void addEquipmentModelListener(EquipmentModelListener listener)
listener
- The listener to be registered.void removeEquipmentModelListener(EquipmentModelListener listener)
listener
- The listener to be unregistered.@Deprecated 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.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.