org.opennms.netmgt.outage
Class BasicInterface
java.lang.Object
org.opennms.netmgt.outage.BasicElement
org.opennms.netmgt.outage.BasicInterface
- public class BasicInterface
- extends BasicElement
Represents an interface from the ipInterface table
- Author:
- brozow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_node
private BasicNode m_node
m_ipAddr
private java.lang.String m_ipAddr
BasicInterface
public BasicInterface(BasicNode node,
java.lang.String ipAddr)
getNode
public BasicNode getNode()
getNetwork
public BasicNetwork getNetwork()
- Specified by:
getNetwork
in class BasicElement
getIpAddr
public java.lang.String getIpAddr()
getNodeId
public long getNodeId()
toString
public java.lang.String toString()
isValid
public boolean isValid()
openOutageExists
public boolean openOutageExists(java.sql.Connection dbConn)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
closeOutages
public int closeOutages(java.sql.Connection dbConn,
long eventID,
java.lang.String eventTime)
throws java.sql.SQLException
- Parameters:
dbConn
- eventID
- eventTime
-
- Returns:
-
- Throws:
java.sql.SQLException
openOutages
public void openOutages(java.sql.Connection dbConn,
long eventID,
java.lang.String eventTime)
throws java.sql.SQLException
- Parameters:
dbConn
- eventID
- eventTime
-
- Throws:
java.sql.SQLException
Generated by eevans on May 29 2005 2015.