Class NFEBasicLink
- java.lang.Object
-
- oracle.spatial.network.nfe.model.NFEBasicModelObject
-
- oracle.spatial.network.nfe.model.network.NFENetworkElement
-
- oracle.spatial.network.nfe.model.network.NFELink
-
- oracle.spatial.network.nfe.model.network.NFEBasicLink
-
- All Implemented Interfaces:
NFEModelObject
public class NFEBasicLink extends NFELink
The default implementation ofNFELink
-
-
Field Summary
-
Fields inherited from class oracle.spatial.network.nfe.model.network.NFELink
PROP_BIDIRECTED, PROP_END_NODE, PROP_LEVEL, PROP_PARENT_LINK_ID, PROP_START_NODE
-
Fields inherited from class oracle.spatial.network.nfe.model.network.NFENetworkElement
PROP_ACTIVE, PROP_COST, PROP_GEOMETRY, PROP_ID, PROP_NAME
-
Fields inherited from interface oracle.spatial.network.nfe.model.NFEModelObject
EFLAG_EXISTING, EFLAG_REMOVED
-
-
Constructor Summary
Constructors Constructor Description NFEBasicLink(NFENode startNode, NFENode endNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NFENetworkElementcreateCopy()Returns object copy.intgetLevel()Gets the link's levellonggetParentLinkId()Gets the link's parent link ID (if any)booleanisBidirected()Tells whether the link is bidirected or notvoidsetBidirected(boolean bidirected)Sets whether the link is bidirected or notvoidsetLevel(int level)Sets the link's levelvoidsetParentLinkId(long parentLinkId)Sets the link's parent link ID-
Methods inherited from class oracle.spatial.network.nfe.model.network.NFELink
getEndNode, getKey, getStartNode, isLink, isNode, setNode
-
Methods inherited from class oracle.spatial.network.nfe.model.network.NFENetworkElement
getCost, getGeometry, getId, getName, getNetwork, isActive, notifyPropertyChanged, setActive, setCost, setGeometry, setId, setName, setNetwork
-
Methods inherited from class oracle.spatial.network.nfe.model.NFEBasicModelObject
addEditionFlag, containsEditionFlag, getEditionFlags, removeEditionFlag, setEditionFlags
-
-
-
-
Method Detail
-
setLevel
public void setLevel(int level)
Description copied from class:NFELinkSets the link's level
-
getLevel
public int getLevel()
Description copied from class:NFELinkGets the link's level
-
setBidirected
public void setBidirected(boolean bidirected)
Description copied from class:NFELinkSets whether the link is bidirected or not- Specified by:
setBidirectedin classNFELink- Parameters:
bidirected- true for bidirected, false for single direction
-
isBidirected
public boolean isBidirected()
Description copied from class:NFELinkTells whether the link is bidirected or not- Specified by:
isBidirectedin classNFELink- Returns:
- true for bidirected, false for single direction
-
setParentLinkId
public void setParentLinkId(long parentLinkId)
Description copied from class:NFELinkSets the link's parent link ID- Specified by:
setParentLinkIdin classNFELink- Parameters:
parentLinkId- the link's parent link ID
-
getParentLinkId
public long getParentLinkId()
Description copied from class:NFELinkGets the link's parent link ID (if any)- Specified by:
getParentLinkIdin classNFELink- Returns:
- the link's parent link ID or -1 if the link does not have a parent link
-
createCopy
public NFENetworkElement createCopy()
Description copied from class:NFENetworkElementReturns object copy.- Specified by:
createCopyin classNFENetworkElement- Returns:
- object copy
-
-