@Entity public class OnmsAtInterface extends Object
AtInterface class.
Constructor and Description |
---|
OnmsAtInterface(OnmsNode node,
InetAddress ipAddress)
Constructor for AtInterface.
|
OnmsAtInterface(OnmsNode node,
InetAddress ipAddress,
String macAddress)
Constructor for AtInterface.
|
Modifier and Type | Method and Description |
---|---|
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() |
OnmsArpInterface.StatusType |
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(OnmsArpInterface.StatusType status) |
String |
toString()
toString
|
public OnmsAtInterface(OnmsNode node, InetAddress ipAddress, String macAddress)
Constructor for AtInterface.
public OnmsAtInterface(OnmsNode node, InetAddress ipAddress)
Constructor for AtInterface.
node
- TODOipAddress
- a String
object.public String toString()
toString
public Integer getId()
public String getInterfaceId()
public void setId(Integer id)
public OnmsNode getNode()
public void setNode(OnmsNode node)
public InetAddress getIpAddress()
Getter for the field ipAddress
.
public void setIpAddress(InetAddress ipAddress)
public String getMacAddress()
Getter for the field macAddress
.
public void setMacAddress(String macAddress)
Setter for the field macAddress
.
macAddress
- a String
object.public OnmsArpInterface.StatusType getStatus()
public void setStatus(OnmsArpInterface.StatusType status)
public Integer getSourceNodeId()
public void setSourceNodeId(Integer sourceNodeId)
public Integer getIfIndex()
Getter for the field ifindex
.
public void setIfIndex(Integer ifIndex)
Setter for the field ifindex
.
ifIndex
- a int.public Date getLastPollTime()
public void setLastPollTime(Date lastPollTime)
Copyright © 2015. All rights reserved.