org.opennms.netmgt.model
Class OnmsAtInterface

java.lang.Object
  extended by org.opennms.netmgt.model.OnmsAtInterface

public class OnmsAtInterface
extends Object

AtInterface class.

Version:
$Id: $
Author:
Antonio Russo

Constructor Summary
OnmsAtInterface(OnmsNode node, InetAddress ipAddress)
          Constructor for AtInterface.
OnmsAtInterface(OnmsNode node, InetAddress ipAddress, String macAddress)
          Constructor for AtInterface.
 
Method Summary
 Integer getId()
           
 Integer getIfIndex()
          Getter for the field ifindex.
 String getInterfaceId()
           
 InetAddress getIpAddress()
          Getter for the field ipAddress.
 Date getLastPollTime()
           
 String getMacAddress()
          Getter for the field macAddress.
 OnmsNode getNode()
           
 Integer getSourceNodeId()
           
 Character getStatus()
           
 void setId(Integer id)
           
 void setIfIndex(Integer ifIndex)
          Setter for the field ifindex.
 void setIpAddress(InetAddress ipAddress)
           
 void setLastPollTime(Date lastPollTime)
           
 void setMacAddress(String macAddress)
          Setter for the field macAddress.
 void setNode(OnmsNode node)
           
 void setSourceNodeId(Integer sourceNodeId)
           
 void setStatus(Character status)
           
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OnmsAtInterface

public OnmsAtInterface(OnmsNode node,
                       InetAddress ipAddress,
                       String macAddress)

Constructor for AtInterface.

Parameters:
node - TODO
ipAddress - a String object.
macAddress - a String object.

OnmsAtInterface

public OnmsAtInterface(OnmsNode node,
                       InetAddress ipAddress)

Constructor for AtInterface.

Parameters:
node - TODO
ipAddress - a String object.
Method Detail

toString

public String toString()

toString

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

getId

public Integer getId()

getInterfaceId

public String getInterfaceId()

setId

public void setId(Integer id)

getNode

public OnmsNode getNode()

setNode

public void setNode(OnmsNode node)

getIpAddress

public InetAddress getIpAddress()

Getter for the field ipAddress.

Returns:
Returns the ipAddress.

setIpAddress

public void setIpAddress(InetAddress ipAddress)

getMacAddress

public String getMacAddress()

Getter for the field macAddress.

Returns:
Returns the MAC address.

setMacAddress

public void setMacAddress(String macAddress)

Setter for the field macAddress.

Parameters:
macAddress - a String object.

getStatus

public Character getStatus()

setStatus

public void setStatus(Character status)

getSourceNodeId

public Integer getSourceNodeId()

setSourceNodeId

public void setSourceNodeId(Integer sourceNodeId)

getIfIndex

public Integer getIfIndex()

Getter for the field ifindex.

Returns:
a int.

setIfIndex

public void setIfIndex(Integer ifIndex)

Setter for the field ifindex.

Parameters:
ifIndex - a int.

getLastPollTime

public Date getLastPollTime()

setLastPollTime

public void setLastPollTime(Date lastPollTime)


Copyright © 2011. All Rights Reserved.