org.opennms.netmgt.linkd
Class LinkableNode

java.lang.Object
  extended by org.opennms.netmgt.linkd.LinkableNode

public class LinkableNode
extends java.lang.Object


Constructor Summary
LinkableNode(int nodeId, java.lang.String snmprimaryaddr)
           
 
Method Summary
 void addStpInterface(BridgeStpInterface stpIface)
           
 java.util.List<AtInterface> getAtInterfaces()
           
 java.util.List<CdpInterface> getCdpInterfaces()
           
 int getNodeId()
           
 java.util.List<RouterInterface> getRouteInterfaces()
           
 java.lang.String getSnmpPrimaryIpAddr()
           
 java.util.HashMap getStpInterfaces()
           
 boolean hasAtInterfaces()
           
 boolean hasCdpInterfaces()
           
 boolean hasRouteInterfaces()
           
 boolean isBridgeNode()
           
 void setAtInterfaces(java.util.List<AtInterface> m_atinterfaces)
           
 void setCdpInterfaces(java.util.List<CdpInterface> m_cdpinterfaces)
           
 void setRouteInterfaces(java.util.List<RouterInterface> m_routeinterfaces)
           
 void setStpInterfaces(java.util.HashMap<java.lang.String,java.util.List<BridgeStpInterface>> stpInterfaces)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinkableNode

public LinkableNode(int nodeId,
                    java.lang.String snmprimaryaddr)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getNodeId

public int getNodeId()
Returns:

getSnmpPrimaryIpAddr

public java.lang.String getSnmpPrimaryIpAddr()
Returns:

getCdpInterfaces

public java.util.List<CdpInterface> getCdpInterfaces()
Returns:
Returns the m_cdpinterfaces.

setCdpInterfaces

public void setCdpInterfaces(java.util.List<CdpInterface> m_cdpinterfaces)
Parameters:
m_cdpinterfaces - The m_cdpinterfaces to set.

hasCdpInterfaces

public boolean hasCdpInterfaces()
Returns:
Returns the m_hascdpinterfaces.

getRouteInterfaces

public java.util.List<RouterInterface> getRouteInterfaces()
Returns:
Returns the m_routeinterfaces.

setRouteInterfaces

public void setRouteInterfaces(java.util.List<RouterInterface> m_routeinterfaces)
Parameters:
m_cdpinterfaces - The m_cdpinterfaces to set.

hasAtInterfaces

public boolean hasAtInterfaces()
Returns:
Returns the m_hasatinterfaces.

getAtInterfaces

public java.util.List<AtInterface> getAtInterfaces()
Returns:
Returns the m_routeinterfaces.

setAtInterfaces

public void setAtInterfaces(java.util.List<AtInterface> m_atinterfaces)
Parameters:
m_cdpinterfaces - The m_cdpinterfaces to set.

hasRouteInterfaces

public boolean hasRouteInterfaces()
Returns:
Returns the m_hascdpinterfaces.

isBridgeNode

public boolean isBridgeNode()
Returns:
Returns the isBridgeNode.

getStpInterfaces

public java.util.HashMap getStpInterfaces()
Returns:
Returns the stpInterfaces.

setStpInterfaces

public void setStpInterfaces(java.util.HashMap<java.lang.String,java.util.List<BridgeStpInterface>> stpInterfaces)
Parameters:
stpInterfaces - The stpInterfaces to set.

addStpInterface

public void addStpInterface(BridgeStpInterface stpIface)


Copyright © 2007. All Rights Reserved.