ilog.views.sdm.model
Class IlvDefaultSDMLink
java.lang.Object
ilog.views.sdm.model.IlvDefaultSDMNode
ilog.views.sdm.model.IlvDefaultSDMLink
- All Implemented Interfaces:
- IlvMutableSDMLink, IlvMutableSDMNode, IlvSDMLink, IlvSDMNode, Serializable
public class IlvDefaultSDMLink
- extends IlvDefaultSDMNode
- implements IlvMutableSDMLink, Serializable
IlvDefaultSDMLink is a simple
implementation of the IlvSDMLink
interface that stores the link ends in memory.
- Since:
- JViews 4.0
- See Also:
IlvDefaultSDMModel,
Serialized Form
| Methods inherited from class ilog.views.sdm.model.IlvDefaultSDMNode |
addChild, getChildren, getChildrenCount, getID, getParent, getProperty, getPropertyNames, getTag, removeChild, setID, setParent, setProperty, shiftChild, toString |
IlvDefaultSDMLink
public IlvDefaultSDMLink(String tag)
- Creates a new link with a
null source and destination.
- Parameters:
tag - The symbolic type of the object.
setFrom
public void setFrom(IlvSDMNode from)
- Sets the source of this link.
- Specified by:
setFrom in interface IlvMutableSDMLink
- Parameters:
from - The new source of the link.
getFrom
public IlvSDMNode getFrom()
- Returns the source of the link.
- Specified by:
getFrom in interface IlvSDMLink
setTo
public void setTo(IlvSDMNode to)
- Sets the destination of this link.
- Specified by:
setTo in interface IlvMutableSDMLink
- Parameters:
to - The new destination of the link.
getTo
public IlvSDMNode getTo()
- Returns the destination of the link.
- Specified by:
getTo in interface IlvSDMLink
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage.