org.opennms.netmgt.linkd
Class LinkableNode

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

public class LinkableNode
extends Object

Author:
Antonio Russo

Constructor Summary
LinkableNode(int nodeId, String snmprimaryaddr, String sysoid)
           
 
Method Summary
 void addStpInterface(BridgeStpInterface stpIface)
           
 List<AtInterface> getAtInterfaces()
           
 List<CdpInterface> getCdpInterfaces()
           
 int getNodeId()
           
 List<RouterInterface> getRouteInterfaces()
           
 String getSnmpPrimaryIpAddr()
           
 HashMap<String,List<BridgeStpInterface>> getStpInterfaces()
           
 String getSysoid()
           
 List<Vlan> getVlans()
           
 boolean hasAtInterfaces()
           
 boolean hasCdpInterfaces()
           
 boolean hasRouteInterfaces()
           
 boolean isBridgeNode()
           
 void setAtInterfaces(List<AtInterface> m_atinterfaces)
           
 void setCdpInterfaces(List<CdpInterface> m_cdpinterfaces)
           
 void setRouteInterfaces(List<RouterInterface> m_routeinterfaces)
           
 void setStpInterfaces(HashMap<String,List<BridgeStpInterface>> stpInterfaces)
           
 void setSysoid(String m_sysoid)
           
 void setVlans(List<Vlan> vlans)
           
 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,
                    String snmprimaryaddr,
                    String sysoid)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getNodeId

public int getNodeId()
Returns:

getSnmpPrimaryIpAddr

public String getSnmpPrimaryIpAddr()
Returns:

getCdpInterfaces

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

setCdpInterfaces

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

hasCdpInterfaces

public boolean hasCdpInterfaces()
Returns:
Returns the m_hascdpinterfaces.

getRouteInterfaces

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

setRouteInterfaces

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

hasAtInterfaces

public boolean hasAtInterfaces()
Returns:
Returns the m_hasatinterfaces.

getAtInterfaces

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

setAtInterfaces

public void setAtInterfaces(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 HashMap<String,List<BridgeStpInterface>> getStpInterfaces()
Returns:
Returns the stpInterfaces.

setStpInterfaces

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

addStpInterface

public void addStpInterface(BridgeStpInterface stpIface)

getSysoid

public String getSysoid()

setSysoid

public void setSysoid(String m_sysoid)

getVlans

public List<Vlan> getVlans()

setVlans

public void setVlans(List<Vlan> vlans)


Copyright © 2009. All Rights Reserved.