public abstract class WAbstractNetworkElement extends Object implements Comparable<WAbstractNetworkElement>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WAbstractNetworkElement o) |
boolean |
equals(Object obj) |
WFiber |
getAsFiber()
Casts this element to a WFiber object (fails if it is not an object of such type)
|
WLayerIp |
getAsIpLayer()
Casts this element to a WLayerIp object (fails if it is not an object of such type)
|
WIpLink |
getAsIpLink()
Casts this element to a WIpLink object (fails if it is not an object of such type)
|
WLightpathRequest |
getAsLightpathRequest()
Casts this element to a WLightpathRequest object (fails if it is not an object of such type)
|
WLightpathUnregenerated |
getAsLightpathUnregenerated()
Casts this element to a WLightpathUnregenerated object (fails if it is not an object of such type)
|
WNode |
getAsNode()
Casts this element to a WNode object (fails if it is not an object of such type)
|
WServiceChain |
getAsServiceChain()
Casts this element to a WServiceChain object (fails if it is not an object of such type)
|
WServiceChainRequest |
getAsServiceChainRequest()
Casts this element to a WServiceChainRequest object (fails if it is not an object of such type)
|
WVnfInstance |
getAsVnfInstance()
Casts this element to a WVnfInstance object (fails if it is not an object of such type)
|
WLayerWdm |
getAsWdmLayer()
Casts this element to a WLayerWdm object (fails if it is not an object of such type)
|
long |
getId()
Returns an internally generated id associated with this object, that is unique among all network elements of
all types in this network
|
abstract NetworkElement |
getNe()
Returns the underlying Net2Plan object.
|
WNet |
getNet()
Returns the network object that this element belongs to
|
NetPlan |
getNetPlan()
Returns the underlying net2plan object that is giving support for this network.
|
boolean |
isFiber()
Returns true if this element is a WDM fiber
|
boolean |
isLayerIp()
Returns true if this element is an IP layer
|
boolean |
isLayerWdm()
Returns true if this element is a WDM layer element
|
boolean |
isLightpathRequest()
Returns true if this element is a lightpath request element
|
boolean |
isLightpathUnregenerated()
Returns true if this element is a lightpath unregenerated (without intermediate regenerations)
|
boolean |
isNode()
Returns true if this element is a network node
|
boolean |
isServiceChain()
Returns true if this element is a service chain
|
boolean |
isServiceChainRequest()
Returns true if this element is a service chain request
|
boolean |
isVnfInstance()
Returns true if this element is an VNF instance
|
boolean |
isWIpLink()
Returns true if this element is an IP link
|
boolean |
wasRemoved()
Returns true if this element was removed from the network
|
public final int compareTo(WAbstractNetworkElement o)
compareTo
in interface Comparable<WAbstractNetworkElement>
public WFiber getAsFiber()
public WLayerIp getAsIpLayer()
public WIpLink getAsIpLink()
public WLightpathRequest getAsLightpathRequest()
public WLightpathUnregenerated getAsLightpathUnregenerated()
public WNode getAsNode()
public WServiceChain getAsServiceChain()
public WServiceChainRequest getAsServiceChainRequest()
public WVnfInstance getAsVnfInstance()
public WLayerWdm getAsWdmLayer()
public long getId()
public abstract NetworkElement getNe()
public WNet getNet()
public NetPlan getNetPlan()
public boolean isFiber()
public boolean isLayerIp()
public boolean isLayerWdm()
public boolean isLightpathRequest()
public boolean isLightpathUnregenerated()
public boolean isNode()
public boolean isServiceChain()
public boolean isServiceChainRequest()
public boolean isVnfInstance()
public boolean isWIpLink()
public boolean wasRemoved()
Copyright © 2018. All rights reserved.