org.opennms.netmgt.model
Class OnmsIpInterface

java.lang.Object
  extended by org.opennms.netmgt.model.OnmsEntity
      extended by org.opennms.netmgt.model.OnmsIpInterface
All Implemented Interfaces:
java.io.Serializable

public class OnmsIpInterface
extends OnmsEntity
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class OnmsIpInterface.CollectionType
           
 
Constructor Summary
OnmsIpInterface()
           
OnmsIpInterface(java.lang.String ipAddr, OnmsNode node)
          minimal constructor
 
Method Summary
 java.lang.Integer getId()
          Unique identifier for ipInterface.
 java.lang.Integer getIfIndex()
           
 java.net.InetAddress getInetAddress()
           
 java.lang.String getIpAddress()
           
 java.lang.String getIpHostName()
           
 java.util.Date getIpLastCapsdPoll()
           
 java.lang.Integer getIpStatus()
           
 java.lang.String getIsManaged()
           
 OnmsIpInterface.CollectionType getIsSnmpPrimary()
           
 OnmsMonitoredService getMonitoredServiceByServiceType(java.lang.String svcName)
           
 java.util.Set<OnmsMonitoredService> getMonitoredServices()
          The services on this node
 OnmsNode getNode()
           
 OnmsSnmpInterface getSnmpInterface()
          The SnmpInterface associated with this interface if any
 boolean isDown()
           
 void setId(java.lang.Integer id)
           
 void setIfIndex(java.lang.Integer ifindex)
           
 void setIpAddress(java.lang.String ipaddr)
           
 void setIpHostName(java.lang.String iphostname)
           
 void setIpLastCapsdPoll(java.util.Date iplastcapsdpoll)
           
 void setIpStatus(java.lang.Integer ipstatus)
           
 void setIsManaged(java.lang.String ismanaged)
           
 void setIsSnmpPrimary(OnmsIpInterface.CollectionType issnmpprimary)
           
 void setMonitoredServices(java.util.Set<OnmsMonitoredService> ifServices)
           
 void setNode(OnmsNode node)
           
 void setSnmpInterface(OnmsSnmpInterface snmpInterface)
           
 java.lang.String toString()
           
 void visit(EntityVisitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OnmsIpInterface

public OnmsIpInterface()

OnmsIpInterface

public OnmsIpInterface(java.lang.String ipAddr,
                       OnmsNode node)
minimal constructor

Method Detail

getId

public java.lang.Integer getId()
Unique identifier for ipInterface.


setId

public void setId(java.lang.Integer id)

getIpAddress

public java.lang.String getIpAddress()

setIpAddress

public void setIpAddress(java.lang.String ipaddr)

getIfIndex

public java.lang.Integer getIfIndex()

setIfIndex

public void setIfIndex(java.lang.Integer ifindex)

getIpHostName

public java.lang.String getIpHostName()

setIpHostName

public void setIpHostName(java.lang.String iphostname)

getIsManaged

public java.lang.String getIsManaged()

setIsManaged

public void setIsManaged(java.lang.String ismanaged)

getIpStatus

public java.lang.Integer getIpStatus()

setIpStatus

public void setIpStatus(java.lang.Integer ipstatus)

getIpLastCapsdPoll

public java.util.Date getIpLastCapsdPoll()

setIpLastCapsdPoll

public void setIpLastCapsdPoll(java.util.Date iplastcapsdpoll)

getIsSnmpPrimary

public OnmsIpInterface.CollectionType getIsSnmpPrimary()

setIsSnmpPrimary

public void setIsSnmpPrimary(OnmsIpInterface.CollectionType issnmpprimary)

getNode

public OnmsNode getNode()

setNode

public void setNode(OnmsNode node)

getMonitoredServices

public java.util.Set<OnmsMonitoredService> getMonitoredServices()
The services on this node


setMonitoredServices

public void setMonitoredServices(java.util.Set<OnmsMonitoredService> ifServices)

getSnmpInterface

public OnmsSnmpInterface getSnmpInterface()
The SnmpInterface associated with this interface if any


setSnmpInterface

public void setSnmpInterface(OnmsSnmpInterface snmpInterface)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

visit

public void visit(EntityVisitor visitor)
Specified by:
visit in class OnmsEntity

getInetAddress

public java.net.InetAddress getInetAddress()

isDown

public boolean isDown()

getMonitoredServiceByServiceType

public OnmsMonitoredService getMonitoredServiceByServiceType(java.lang.String svcName)


Copyright © 2007. All Rights Reserved.