Class CdpElement

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public final class CdpElement
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • 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.
      • getCdpGlobalDeviceId

        public java.lang.String getCdpGlobalDeviceId()
      • getCdpNodeCreateTime

        public java.util.Date getCdpNodeCreateTime()
      • getCdpNodeLastPollTime

        public java.util.Date getCdpNodeLastPollTime()
      • setId

        public void setId​(java.lang.Integer id)

        setId

        Parameters:
        id - a Integer object.
      • setNode

        public void setNode​(OnmsNode node)
        Set the node associated with the Lldp Element record
        Parameters:
        node - a OnmsNode object.
      • setCdpGlobalDeviceId

        public void setCdpGlobalDeviceId​(java.lang.String cdpGlobalDeviceId)
      • 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 class java.lang.Object
        Returns:
        a String object.
      • merge

        public void merge​(CdpElement element)