public class DataLinkInterface extends Object implements Serializable, Comparable<DataLinkInterface>
Constructor and Description |
---|
DataLinkInterface() |
DataLinkInterface(OnmsNode node,
int ifIndex,
int nodeParentId,
int parentIfIndex,
String status,
Date lastPollTime)
Constructor for DataLinkInterface.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DataLinkInterface o)
compareTo
|
Integer |
getId()
Method getNodeId returns the nodeId of this DataLinkInterface object.
|
Integer |
getIfIndex()
Method getIfIndex returns the ifIndex of this DataLinkInterface object.
|
Date |
getLastPollTime()
Method getLastPollTime returns the lastPollTime of this DataLinkInterface object.
|
Integer |
getLinkTypeId()
Getter for the field
linkTypeId . |
OnmsNode |
getNode() |
Integer |
getNodeParentId()
Method getNodeParentId returns the nodeParentId of this DataLinkInterface object.
|
Integer |
getParentIfIndex()
Method getParentIfIndex returns the parentIfIndex of this DataLinkInterface object.
|
String |
getStatus()
Method getStatus returns the status of this DataLinkInterface object.
|
int |
hashCode()
hashCode
|
void |
setId(int id)
Setter for the field
id . |
void |
setIfIndex(int ifIndex)
Setter for the field
ifIndex . |
void |
setLastPollTime(Date lastPollTime)
Setter for the field
lastPollTime . |
void |
setLinkTypeId(Integer linkTypeId)
Setter for the field
linkTypeId . |
void |
setNode(OnmsNode node) |
void |
setNodeParentId(int nodeParentId)
Setter for the field
nodeParentId . |
void |
setParentIfIndex(int parentIfIndex)
Setter for the field
parentIfIndex . |
void |
setStatus(String status)
Setter for the field
status . |
String |
toString() |
public DataLinkInterface()
public Integer getId()
public void setId(int id)
Setter for the field id
.
id
- a int.public OnmsNode getNode()
public void setNode(OnmsNode node)
public Integer getIfIndex()
public void setIfIndex(int ifIndex)
Setter for the field ifIndex
.
ifIndex
- a int.public Integer getNodeParentId()
public void setNodeParentId(int nodeParentId)
Setter for the field nodeParentId
.
nodeParentId
- a int.public Integer getParentIfIndex()
public void setParentIfIndex(int parentIfIndex)
Setter for the field parentIfIndex
.
parentIfIndex
- a int.public String getStatus()
public void setStatus(String status)
Setter for the field status
.
status
- a String
object.public Integer getLinkTypeId()
Getter for the field linkTypeId
.
Integer
object.public void setLinkTypeId(Integer linkTypeId)
Setter for the field linkTypeId
.
linkTypeId
- a Integer
object.public Date getLastPollTime()
public void setLastPollTime(Date lastPollTime)
Setter for the field lastPollTime
.
lastPollTime
- a Date
object.public int compareTo(DataLinkInterface o)
compareTo
compareTo
in interface Comparable<DataLinkInterface>
o
- a DataLinkInterface
object.Copyright © 2015. All Rights Reserved.