ilog.cpl.model.container
Interface IlpRepresentationLink

All Superinterfaces:
IlpAttributeValueHolder, IlpRepresentationNode, IlpRepresentationObject
All Known Subinterfaces:
IlpEquipmentLink, IlpMutableEquipmentLink, IlpMutableNetworkLink, IlpMutableRepresentationLink, IlpNetworkLink
All Known Implementing Classes:
IlpAbstractRepresentationLink, IlpDefaultEquipmentLink, IlpDefaultNetworkLink

public interface IlpRepresentationLink
extends IlpRepresentationNode

Objects implementing this interface will be recognized as links.

This class is used by the network model and the equipment model.

Note: Objects implementing both IlpRepresentationNode and IlpRepresentationLink are considered as links.

Since:
JTGO 4.0

Field Summary
 
Fields inherited from interface ilog.cpl.model.IlpAttributeValueHolder
VALUE_NOT_SET
 
Method Summary
 void addRepresentationLinkListener(RepresentationLinkListener listener)
          Adds a listener that is notified each time a change to this link occurs.
 IlpRepresentationNode getFromNode()
          Returns the first end node of the link.
 IlpRepresentationNode getToNode()
          Returns the second end node of the link.
 void removeRepresentationLinkListener(RepresentationLinkListener listener)
          Removes a listener previously added with addRepresentationLinkListener(ilog.cpl.model.container.RepresentationLinkListener).
 
Methods inherited from interface ilog.cpl.model.container.IlpRepresentationNode
addRepresentationNodeListener, getAllowsChildren, getChildren, getExpansionStrategy, getParent, isLeaf, removeRepresentationNodeListener
 
Methods inherited from interface ilog.cpl.model.IlpRepresentationObject
getEditor, getIlpObject
 
Methods inherited from interface ilog.cpl.model.IlpAttributeValueHolder
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValue
 

Method Detail

getFromNode

IlpRepresentationNode getFromNode()
Returns the first end node of the link.


getToNode

IlpRepresentationNode getToNode()
Returns the second end node of the link.


addRepresentationLinkListener

void addRepresentationLinkListener(RepresentationLinkListener listener)
Adds a listener that is notified each time a change to this link occurs.

Parameters:
listener - The listener to be added.

removeRepresentationLinkListener

void removeRepresentationLinkListener(RepresentationLinkListener listener)
Removes a listener previously added with addRepresentationLinkListener(ilog.cpl.model.container.RepresentationLinkListener).

Parameters:
listener - The listener to be removed.


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