public class IlpAbstractRepresentationLink extends IlpAbstractRepresentationNode implements IlpMutableRepresentationLink
IlpRepresentationLink.IlpDefaultNetworkLink,
IlpDefaultEquipmentLinkVALUE_NOT_SET| Modifier | Constructor and Description |
|---|---|
protected |
IlpAbstractRepresentationLink(IlpAttributeGroup model,
IlpExpansionStrategy strategy,
Logger logger)
Creates a new link.
|
protected |
IlpAbstractRepresentationLink(IlpObject object,
IlpExtendedAttributeGroup model,
IlpExpansionStrategy strategy,
Logger logger)
Creates a new link attached to a business object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRepresentationLinkListener(RepresentationLinkListener listener)
Adds a listener that is notified each time a change to this link occurs.
|
void |
fireRepresentationLinkEvent(RepresentationLinkEvent event)
Notifies the listeners of a link event.
|
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. |
void |
setFromNode(IlpRepresentationNode node)
Changes the first end node of the link.
|
void |
setToNode(IlpRepresentationNode node)
Changes the second end node of the link.
|
addAttributeValueListener, addChild, addChildren, addChildren, addRepresentationNodeListener, addTreeAttributeValueListener, fireEvent, fireRepresentationNodeEvent, getAllowsChildren, getAttributeGroup, getAttributeValue, getAttributeValue, getChildren, getCSSClasses, getCSSID, getCSSType, getEditor, getExpansionStrategy, getIlpObject, getLogger, getParent, hasAttributeValue, isLeaf, removeAttributeValueListener, removeChild, removeChildren, removeChildren, removeChildren, removeRepresentationNodeListener, removeTreeAttributeValueListener, setAttributeValue, setAttributeValue, setParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, addChildren, addChildren, removeChild, removeChildren, removeChildren, removeChildrenaddRepresentationNodeListener, getAllowsChildren, getChildren, getExpansionStrategy, getParent, isLeaf, removeRepresentationNodeListenergetEditor, getIlpObjectaddAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValueprotected IlpAbstractRepresentationLink(IlpAttributeGroup model, IlpExpansionStrategy strategy, Logger logger)
model - The attribute group.strategy - The child object loader, or null for
a leaf link.logger - Logger for handling log messages.protected IlpAbstractRepresentationLink(IlpObject object, IlpExtendedAttributeGroup model, IlpExpansionStrategy strategy, Logger logger)
object - The corresponding business object.model - The attribute group.strategy - The child object loader, or null for
a leaf link.logger - Logger for handling log messages.public IlpRepresentationNode getFromNode()
getFromNode in interface IlpRepresentationLinkpublic IlpRepresentationNode getToNode()
getToNode in interface IlpRepresentationLinkpublic void addRepresentationLinkListener(RepresentationLinkListener listener)
addRepresentationLinkListener in interface IlpRepresentationLinklistener - The listener to be added.public void removeRepresentationLinkListener(RepresentationLinkListener listener)
addRepresentationLinkListener.removeRepresentationLinkListener in interface IlpRepresentationLinklistener - The listener to be removed.public void setFromNode(IlpRepresentationNode node)
setFromNode in interface IlpMutableRepresentationLinkpublic void setToNode(IlpRepresentationNode node)
setToNode in interface IlpMutableRepresentationLinkpublic void fireRepresentationLinkEvent(RepresentationLinkEvent event)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.