org.opennms.netmgt.linkd
Class AtInterface

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

public class AtInterface
extends Object

AtInterface class.

Version:
$Id: $
Author:
Antonio Russo

Constructor Summary
AtInterface(int nodeid, String ipAddress)
          Constructor for AtInterface.
AtInterface(int nodeid, String ipAddress, String macAddress)
          Constructor for AtInterface.
 
Method Summary
 int getIfindex()
          Getter for the field ifindex.
 String getIpAddress()
          Getter for the field ipAddress.
 String getMacAddress()
          Getter for the field macAddress.
 int getNodeId()
          getNodeId
 void setIfindex(int ifindex)
          Setter for the field ifindex.
 void setMacAddress(String macAddress)
          Setter for the field macAddress.
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AtInterface

public AtInterface(int nodeid,
                   String ipAddress,
                   String macAddress)

Constructor for AtInterface.

Parameters:
nodeid - a int.
ipAddress - a String object.
macAddress - a String object.

AtInterface

public AtInterface(int nodeid,
                   String ipAddress)

Constructor for AtInterface.

Parameters:
nodeid - a int.
ipAddress - 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:
Returns the nodeparentid.

getMacAddress

public String getMacAddress()

Getter for the field macAddress.

Returns:
Returns the ifindex.

getIpAddress

public String getIpAddress()

Getter for the field ipAddress.

Returns:
Returns the ifindex.

getIfindex

public int getIfindex()

Getter for the field ifindex.

Returns:
a int.

setIfindex

public void setIfindex(int ifindex)

Setter for the field ifindex.

Parameters:
ifindex - a int.

setMacAddress

public void setMacAddress(String macAddress)

Setter for the field macAddress.

Parameters:
macAddress - a String object.


Copyright © 2011. All Rights Reserved.