Package org.opennms.netmgt.enlinkd.model
Class CdpElement
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.model.CdpElement
-
- All Implemented Interfaces:
java.io.Serializable
@Entity public final class CdpElement extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CdpElement.CdpGlobalDeviceIdFormat
-
Constructor Summary
Constructors Constructor Description CdpElement()
CdpElement(OnmsNode node, java.lang.String cdpGlobalDeviceId)
CdpElement(OnmsNode node, java.lang.String cdpGlobalDeviceId, CdpElement.CdpGlobalDeviceIdFormat format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCdpGlobalDeviceId()
CdpElement.CdpGlobalDeviceIdFormat
getCdpGlobalDeviceIdFormat()
OspfElement.TruthValue
getCdpGlobalRun()
java.util.Date
getCdpNodeCreateTime()
java.util.Date
getCdpNodeLastPollTime()
java.lang.Integer
getId()
getIdOnmsNode
getNode()
The node this asset information belongs to.void
merge(CdpElement element)
void
setCdpGlobalDeviceId(java.lang.String cdpGlobalDeviceId)
void
setCdpGlobalDeviceIdFormat(CdpElement.CdpGlobalDeviceIdFormat cdpGlobalDeviceIdFormat)
void
setCdpGlobalRun(OspfElement.TruthValue cdpGlobalRun)
void
setCdpNodeCreateTime(java.util.Date cdpNodeCreateTime)
void
setCdpNodeLastPollTime(java.util.Date cdpNodeLastPollTime)
void
setId(java.lang.Integer id)
setIdvoid
setNode(OnmsNode node)
Set the node associated with the Lldp Element recordjava.lang.String
toString()
toString
-
-
-
Constructor Detail
-
CdpElement
public CdpElement()
-
CdpElement
public CdpElement(OnmsNode node, java.lang.String cdpGlobalDeviceId)
-
CdpElement
public CdpElement(OnmsNode node, java.lang.String cdpGlobalDeviceId, CdpElement.CdpGlobalDeviceIdFormat format)
-
-
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.
-
getCdpGlobalRun
public OspfElement.TruthValue getCdpGlobalRun()
-
getCdpGlobalDeviceId
public java.lang.String getCdpGlobalDeviceId()
-
getCdpGlobalDeviceIdFormat
public CdpElement.CdpGlobalDeviceIdFormat getCdpGlobalDeviceIdFormat()
-
getCdpNodeCreateTime
public java.util.Date getCdpNodeCreateTime()
-
getCdpNodeLastPollTime
public java.util.Date getCdpNodeLastPollTime()
-
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.
-
setCdpGlobalRun
public void setCdpGlobalRun(OspfElement.TruthValue cdpGlobalRun)
-
setCdpGlobalDeviceId
public void setCdpGlobalDeviceId(java.lang.String cdpGlobalDeviceId)
-
setCdpGlobalDeviceIdFormat
public void setCdpGlobalDeviceIdFormat(CdpElement.CdpGlobalDeviceIdFormat cdpGlobalDeviceIdFormat)
-
setCdpNodeCreateTime
public void setCdpNodeCreateTime(java.util.Date cdpNodeCreateTime)
-
setCdpNodeLastPollTime
public void setCdpNodeLastPollTime(java.util.Date cdpNodeLastPollTime)
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a
String
object.
-
merge
public void merge(CdpElement element)
-
-