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