Class OnmsPathOutage

    • Constructor Detail

      • OnmsPathOutage

        public OnmsPathOutage​(OnmsNode node,
                              InetAddress criticalPathIp,
                              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 InetAddress getCriticalPathIp()

        Getter for field m_criticalPathIp.

        Returns:
        an InetAddress
      • setCriticalPathIp

        public void setCriticalPathIp​(InetAddress criticalPathIp)

        Setter for field m_criticalPathIp.

        Parameters:
        an - InetAddress
      • getCriticalPathServiceName

        public String getCriticalPathServiceName()

        Getter for field m_criticalPathServiceName.

        Returns:
        a String
      • setCriticalPathServiceName

        public void setCriticalPathServiceName​(String criticalPathServiceName)

        Setter for field m_criticalPathServiceName.

        Parameters:
        a - String