Package org.opennms.netmgt.enlinkd.model
Class LldpElement
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.model.LldpElement
-
- All Implemented Interfaces:
java.io.Serializable
@Entity public final class LldpElement extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LldpElement()
LldpElement(OnmsNode node, java.lang.String chassisId, java.lang.String sysName, LldpUtils.LldpChassisIdSubType chassisIdSubType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getId()
getIdjava.lang.String
getLldpChassisId()
LldpUtils.LldpChassisIdSubType
getLldpChassisIdSubType()
java.util.Date
getLldpNodeCreateTime()
java.util.Date
getLldpNodeLastPollTime()
java.lang.String
getLldpSysname()
OnmsNode
getNode()
The node this asset information belongs to.void
merge(LldpElement element)
void
setId(java.lang.Integer id)
setIdvoid
setLldpChassisId(java.lang.String lldpChassisId)
void
setLldpChassisIdSubType(LldpUtils.LldpChassisIdSubType lldpChassisIdSubType)
void
setLldpNodeCreateTime(java.util.Date lldpNodeCreateTime)
void
setLldpNodeLastPollTime(java.util.Date lldpNodeLastPollTime)
void
setLldpSysname(java.lang.String lldpSysname)
void
setNode(OnmsNode node)
Set the node associated with the Lldp Element recordjava.lang.String
toString()
toString
-
-
-
Constructor Detail
-
LldpElement
public LldpElement()
-
LldpElement
public LldpElement(OnmsNode node, java.lang.String chassisId, java.lang.String sysName, LldpUtils.LldpChassisIdSubType chassisIdSubType)
-
-
Method Detail
-
getId
public java.lang.Integer getId()
getId
- Returns:
- a
Integer
object.
-
getNode
public OnmsNode getNode()
The node this asset information belongs to.- Returns:
- a
OnmsNode
object.
-
getLldpChassisIdSubType
public LldpUtils.LldpChassisIdSubType getLldpChassisIdSubType()
-
getLldpSysname
public java.lang.String getLldpSysname()
-
getLldpChassisId
public java.lang.String getLldpChassisId()
-
getLldpNodeCreateTime
public java.util.Date getLldpNodeCreateTime()
-
getLldpNodeLastPollTime
public java.util.Date getLldpNodeLastPollTime()
-
setId
public void setId(java.lang.Integer id)
setId
- Parameters:
id
- aInteger
object.
-
setNode
public void setNode(OnmsNode node)
Set the node associated with the Lldp Element record- Parameters:
node
- aOnmsNode
object.
-
setLldpSysname
public void setLldpSysname(java.lang.String lldpSysname)
-
setLldpChassisId
public void setLldpChassisId(java.lang.String lldpChassisId)
-
setLldpChassisIdSubType
public void setLldpChassisIdSubType(LldpUtils.LldpChassisIdSubType lldpChassisIdSubType)
-
setLldpNodeCreateTime
public void setLldpNodeCreateTime(java.util.Date lldpNodeCreateTime)
-
setLldpNodeLastPollTime
public void setLldpNodeLastPollTime(java.util.Date lldpNodeLastPollTime)
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a
String
object.
-
merge
public void merge(LldpElement element)
-
-