public class NFEBasicLink extends NFELink
NFELinkPROP_BIDIRECTED, PROP_END_NODE, PROP_LEVEL, PROP_PARENT_LINK_ID, PROP_START_NODEPROP_ACTIVE, PROP_COST, PROP_GEOMETRY, PROP_ID, PROP_NAMEEFLAG_EXISTING, EFLAG_REMOVED| Constructor and Description |
|---|
NFEBasicLink(NFENode startNode,
NFENode endNode) |
| Modifier and Type | Method and Description |
|---|---|
NFENetworkElement |
createCopy()
Returns object copy.
|
int |
getLevel()
Gets the link's level
|
long |
getParentLinkId()
Gets the link's parent link ID (if any)
|
boolean |
isBidirected()
Tells whether the link is bidirected or not
|
void |
setBidirected(boolean bidirected)
Sets whether the link is bidirected or not
|
void |
setLevel(int level)
Sets the link's level
|
void |
setParentLinkId(long parentLinkId)
Sets the link's parent link ID
|
getEndNode, getKey, getStartNode, isLink, isNodegetCost, getGeometry, getId, getName, getNetwork, isActive, setActive, setCost, setGeometry, setId, setName, setNetworkaddEditionFlag, containsEditionFlag, getEditionFlags, removeEditionFlag, setEditionFlagspublic void setLevel(int level)
NFELinkpublic int getLevel()
NFELinkpublic void setBidirected(boolean bidirected)
NFELinksetBidirected in class NFELinkbidirected - true for bidirected, false for single directionpublic boolean isBidirected()
NFELinkisBidirected in class NFELinkpublic void setParentLinkId(long parentLinkId)
NFELinksetParentLinkId in class NFELinkparentLinkId - the link's parent link IDpublic long getParentLinkId()
NFELinkgetParentLinkId in class NFELinkpublic NFENetworkElement createCopy()
NFENetworkElementcreateCopy in class NFENetworkElement