Class OnmsPathOutage

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class OnmsPathOutage
    extends java.lang.Object
    implements java.io.Serializable

    OnmsPathOutage class

    Author:
    Ryan Lambeth
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      OnmsPathOutage()  
      OnmsPathOutage​(OnmsNode node, java.net.InetAddress criticalPathIp, java.lang.String criticalPathServiceName)
      Constructor for OnmsPathOutage
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.InetAddress getCriticalPathIp()
      Getter for field m_criticalPathIp.
      java.lang.String getCriticalPathServiceName()
      Getter for field m_criticalPathServiceName.
      OnmsNode getNode()
      The node this asset information belongs to.
      int getNodeId()
      Because the pathOutage table uses the node ID as its ID, this set of annotations uses a Hibernate "foreign" strategy ID generator so that the foreign key of a related object (the "node") is used as the ID of this object.
      void setCriticalPathIp​(java.net.InetAddress criticalPathIp)
      Setter for field m_criticalPathIp.
      void setCriticalPathServiceName​(java.lang.String criticalPathServiceName)
      Setter for field m_criticalPathServiceName.
      void setNode​(OnmsNode node)  
      void setNodeId​(int id)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OnmsPathOutage

        public OnmsPathOutage​(OnmsNode node,
                              java.net.InetAddress criticalPathIp,
                              java.lang.String criticalPathServiceName)

        Constructor for OnmsPathOutage

        Parameters:
        an - int
        an - InetAddress
        a - String
      • OnmsPathOutage

        public OnmsPathOutage()
    • Method Detail

      • getNode

        public OnmsNode getNode()
        The node this asset information belongs to.
        Returns:
        a OnmsNode object.
      • setNode

        public void setNode​(OnmsNode node)
      • getNodeId

        public int getNodeId()
        Because the pathOutage table uses the node ID as its ID, this set of annotations uses a Hibernate "foreign" strategy ID generator so that the foreign key of a related object (the "node") is used as the ID of this object. This is known as a bidirectional one-to-one primary key relationship.
        Returns:
      • setNodeId

        public void setNodeId​(int id)
      • getCriticalPathIp

        public java.net.InetAddress getCriticalPathIp()

        Getter for field m_criticalPathIp.

        Returns:
        an InetAddress
      • setCriticalPathIp

        public void setCriticalPathIp​(java.net.InetAddress criticalPathIp)

        Setter for field m_criticalPathIp.

        Parameters:
        an - InetAddress
      • getCriticalPathServiceName

        public java.lang.String getCriticalPathServiceName()

        Getter for field m_criticalPathServiceName.

        Returns:
        a String
      • setCriticalPathServiceName

        public void setCriticalPathServiceName​(java.lang.String criticalPathServiceName)

        Setter for field m_criticalPathServiceName.

        Parameters:
        a - String