@Entity public class DataLinkInterface extends Object implements Serializable, Comparable<DataLinkInterface>
Modifier and Type | Class and Description |
---|---|
static class |
DataLinkInterface.DiscoveryProtocol |
Constructor and Description |
---|
DataLinkInterface() |
DataLinkInterface(OnmsNode node,
int ifIndex,
int nodeParentId,
int parentIfIndex,
Date lastPollTime) |
DataLinkInterface(OnmsNode node,
int ifIndex,
int nodeParentId,
int parentIfIndex,
OnmsArpInterface.StatusType status,
Date lastPollTime) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DataLinkInterface o)
compareTo
|
String |
getDataLinkInterfaceId()
Get the ID as a string.
|
Integer |
getId() |
Integer |
getIfIndex() |
Date |
getLastPollTime() |
Integer |
getLinkTypeId() |
OnmsNode |
getNode() |
Integer |
getNodeId() |
Integer |
getNodeParentId() |
Integer |
getParentIfIndex() |
DataLinkInterface.DiscoveryProtocol |
getProtocol() |
String |
getSource() |
OnmsArpInterface.StatusType |
getStatus() |
void |
setDataLinkInterfaceId(String id) |
void |
setId(int id) |
void |
setIfIndex(Integer ifIndex) |
void |
setLastPollTime(Date lastPollTime) |
void |
setLinkTypeId(Integer linkTypeId) |
void |
setNode(OnmsNode node) |
void |
setNodeId(Integer nodeId) |
void |
setNodeParentId(Integer nodeParentId) |
void |
setParentIfIndex(Integer parentIfIndex) |
void |
setProtocol(DataLinkInterface.DiscoveryProtocol protocol) |
void |
setSource(String source) |
void |
setStatus(OnmsArpInterface.StatusType status) |
String |
toString() |
public DataLinkInterface()
public DataLinkInterface(OnmsNode node, int ifIndex, int nodeParentId, int parentIfIndex, OnmsArpInterface.StatusType status, Date lastPollTime)
public Integer getId()
public void setId(int id)
public String getDataLinkInterfaceId()
public void setDataLinkInterfaceId(String id)
public OnmsNode getNode()
public void setNode(OnmsNode node)
public Integer getNodeId()
public void setNodeId(Integer nodeId)
public Integer getIfIndex()
public void setIfIndex(Integer ifIndex)
public Integer getNodeParentId()
public void setNodeParentId(Integer nodeParentId)
public Integer getParentIfIndex()
public void setParentIfIndex(Integer parentIfIndex)
public OnmsArpInterface.StatusType getStatus()
public void setStatus(OnmsArpInterface.StatusType status)
public Integer getLinkTypeId()
public void setLinkTypeId(Integer linkTypeId)
public DataLinkInterface.DiscoveryProtocol getProtocol()
public void setProtocol(DataLinkInterface.DiscoveryProtocol protocol)
public Date getLastPollTime()
public void setLastPollTime(Date lastPollTime)
public String getSource()
public void setSource(String source)
public int compareTo(DataLinkInterface o)
compareTo
compareTo
in interface Comparable<DataLinkInterface>
o
- a DataLinkInterface
object.Copyright © 2015. All rights reserved.