org.opennms.netmgt.linkd
Class MacToNodeLink

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

public class MacToNodeLink
extends Object

MacToNodeLink class.

Version:
$Id: $
Author:
Antonio Russo

Constructor Summary
MacToNodeLink(String macAddress)
          Constructor for MacToNodeLink.
 
Method Summary
 String getMacAddress()
          Getter for the field macAddress.
 int getNodeparentid()
          Getter for the field nodeparentid.
 int getParentifindex()
          Getter for the field parentifindex.
 void setNodeparentid(int nodeparentid)
          Setter for the field nodeparentid.
 void setParentifindex(int parentifindex)
          Setter for the field parentifindex.
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MacToNodeLink

public MacToNodeLink(String macAddress)

Constructor for MacToNodeLink.

Parameters:
macAddress - a String object.
Method Detail

toString

public String toString()

toString

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

getNodeparentid

public int getNodeparentid()

Getter for the field nodeparentid.

Returns:
Returns the nodeparentid.

setNodeparentid

public void setNodeparentid(int nodeparentid)

Setter for the field nodeparentid.

Parameters:
nodeparentid - The nodeparentid to set.

getParentifindex

public int getParentifindex()

Getter for the field parentifindex.

Returns:
Returns the parentifindex.

setParentifindex

public void setParentifindex(int parentifindex)

Setter for the field parentifindex.

Parameters:
parentifindex - The parentifindex to set.

getMacAddress

public String getMacAddress()

Getter for the field macAddress.

Returns:
Returns the ifindex.


Copyright © 2011. All Rights Reserved.