org.opennms.netmgt.linkd
Class LinkableNode

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

public class LinkableNode
extends Object

LinkableNode class.

Version:
$Id: $
Author:
Antonio Russo

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

Constructor for LinkableNode.

Parameters:
nodeId - a int.
snmprimaryaddr - a String object.
sysoid - a String object.
Method Detail

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
a String object.

getNodeId

public int getNodeId()

getNodeId

Returns:
a int.

getSnmpPrimaryIpAddr

public String getSnmpPrimaryIpAddr()

getSnmpPrimaryIpAddr

Returns:
a String object.

getCdpInterfaces

public List<CdpInterface> getCdpInterfaces()

getCdpInterfaces

Returns:
Returns the m_cdpinterfaces.

setCdpInterfaces

public void setCdpInterfaces(List<CdpInterface> m_cdpinterfaces)

setCdpInterfaces

Parameters:
m_cdpinterfaces - The m_cdpinterfaces to set.

hasCdpInterfaces

public boolean hasCdpInterfaces()

hasCdpInterfaces

Returns:
Returns the m_hascdpinterfaces.

getRouteInterfaces

public List<RouterInterface> getRouteInterfaces()

getRouteInterfaces

Returns:
Returns the m_routeinterfaces.

setRouteInterfaces

public void setRouteInterfaces(List<RouterInterface> m_routeinterfaces)

setRouteInterfaces

Parameters:
m_routeinterfaces - a List object.

hasAtInterfaces

public boolean hasAtInterfaces()

hasAtInterfaces

Returns:
Returns the m_hasatinterfaces.

getAtInterfaces

public List<AtInterface> getAtInterfaces()

getAtInterfaces

Returns:
Returns the m_routeinterfaces.

setAtInterfaces

public void setAtInterfaces(List<AtInterface> m_atinterfaces)

setAtInterfaces

Parameters:
m_atinterfaces - a List object.

hasRouteInterfaces

public boolean hasRouteInterfaces()

hasRouteInterfaces

Returns:
Returns the m_hascdpinterfaces.

isBridgeNode

public boolean isBridgeNode()

isBridgeNode

Returns:
Returns the isBridgeNode.

getStpInterfaces

public HashMap<String,List<BridgeStpInterface>> getStpInterfaces()

getStpInterfaces

Returns:
Returns the stpInterfaces.

setStpInterfaces

public void setStpInterfaces(HashMap<String,List<BridgeStpInterface>> stpInterfaces)

setStpInterfaces

Parameters:
stpInterfaces - The stpInterfaces to set.

addStpInterface

public void addStpInterface(BridgeStpInterface stpIface)

addStpInterface

Parameters:
stpIface - a BridgeStpInterface object.

getSysoid

public String getSysoid()

getSysoid

Returns:
a String object.

setSysoid

public void setSysoid(String m_sysoid)

setSysoid

Parameters:
m_sysoid - a String object.

getVlans

public List<Vlan> getVlans()

Getter for the field vlans.

Returns:
a List object.

setVlans

public void setVlans(List<Vlan> vlans)

Setter for the field vlans.

Parameters:
vlans - a List object.


Copyright © 2011. All Rights Reserved.