org.opennms.netmgt.linkd
Class CdpInterface

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

public class CdpInterface
extends Object

CdpInterface class.

Version:
$Id: $
Author:
antonio

Method Summary
 int getCdpIfIndex()
          Getter for the field cdpIfIndex.
 int getCdpTargetIfIndex()
          Getter for the field cdpTargetIfIndex.
 InetAddress getCdpTargetIpAddr()
          Getter for the field cdpTargetIpAddr.
 int getCdpTargetNodeId()
          Getter for the field cdpTargetNodeId.
 void setCdpTargetIfIndex(int ifindex)
          Setter for the field cdpTargetIfIndex.
 void setCdpTargetIpAddr(InetAddress cdpTargetIpAddr)
          Setter for the field cdpTargetIpAddr.
 void setCdpTargetNodeId(int cdpTargetNodeId)
          Setter for the field cdpTargetNodeId.
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCdpIfIndex

public int getCdpIfIndex()

Getter for the field cdpIfIndex.

Returns:
Returns the cdpIfIndex.

getCdpTargetIfIndex

public int getCdpTargetIfIndex()

Getter for the field cdpTargetIfIndex.

Returns:
Returns the cdpTargetDevicePort.

setCdpTargetIfIndex

public void setCdpTargetIfIndex(int ifindex)

Setter for the field cdpTargetIfIndex.

Parameters:
ifindex - a int.

getCdpTargetIpAddr

public InetAddress getCdpTargetIpAddr()

Getter for the field cdpTargetIpAddr.

Returns:
Returns the cdpTargetIpAddr.

setCdpTargetIpAddr

public void setCdpTargetIpAddr(InetAddress cdpTargetIpAddr)

Setter for the field cdpTargetIpAddr.

Parameters:
cdpTargetIpAddr - The cdpTargetIpAddr to set.

getCdpTargetNodeId

public int getCdpTargetNodeId()

Getter for the field cdpTargetNodeId.

Returns:
Returns the cdpTargetNodeId.

setCdpTargetNodeId

public void setCdpTargetNodeId(int cdpTargetNodeId)

Setter for the field cdpTargetNodeId.

Parameters:
cdpTargetNodeId - The cdpTargetNodeId to set.

toString

public String toString()

toString

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


Copyright © 2011. All Rights Reserved.