public class IlvDefaultSDMLink extends IlvDefaultSDMNode implements IlvMutableSDMLink, Serializable
IlvDefaultSDMLink is a simple
implementation of the IlvSDMLink
interface that stores the link ends in memory.IlvDefaultSDMModel,
Serialized FormMOVE_DOWN, MOVE_FIRST, MOVE_LAST, MOVE_UP| Constructor and Description |
|---|
IlvDefaultSDMLink(String tag)
Creates a new link with a
null source and destination. |
| Modifier and Type | Method and Description |
|---|---|
IlvSDMNode |
getFrom()
Returns the source of the link.
|
IlvSDMNode |
getTo()
Returns the destination of the link.
|
void |
setFrom(IlvSDMNode from)
Sets the source of this link.
|
void |
setTo(IlvSDMNode to)
Sets the destination of this link.
|
addChild, getChildren, getChildrenCount, getDependentProperties, getID, getParent, getProperty, getPropertyNames, getTag, removeChild, setID, setParent, setProperty, shiftChild, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, getDependentProperties, removeChild, setID, setParent, setPropertygetChildren, getID, getParent, getProperty, getPropertyNames, getTagpublic IlvDefaultSDMLink(String tag)
null source and destination.tag - The symbolic type of the object.public void setFrom(IlvSDMNode from)
setFrom in interface IlvMutableSDMLinkfrom - The new source of the link.public IlvSDMNode getFrom()
getFrom in interface IlvSDMLinkpublic void setTo(IlvSDMNode to)
setTo in interface IlvMutableSDMLinkto - The new destination of the link.public IlvSDMNode getTo()
getTo in interface IlvSDMLink© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.