org.opennms.web.admin.nodeManagement
Class SnmpManagedInterface

java.lang.Object
  extended by org.opennms.web.admin.nodeManagement.SnmpManagedInterface
All Implemented Interfaces:
Serializable, Comparable<SnmpManagedInterface>

public class SnmpManagedInterface
extends Object
implements Serializable, Comparable<SnmpManagedInterface>

A servlet that stores interface information used in setting up SNMP Data Collection

Author:
Tarus Balog, Benjamin Reed, OpenNMS
See Also:
Serialized Form

Field Summary
protected  String m_address
           
protected  String m_collectFlag
           
protected  int m_id
           
protected  String m_ifAlias
           
protected  String m_ifDescr
           
protected  int m_ifIndex
           
protected  String m_ifName
           
protected  int m_ifType
           
protected  String m_ipHostname
           
protected  int m_nodeId
           
protected  String m_snmpStatus
           
 
Constructor Summary
SnmpManagedInterface()
           
 
Method Summary
 int compareTo(SnmpManagedInterface obj)
           
 boolean equals(Object obj)
           
 String getAddress()
           
 String getCollectFlag()
           
 String getIfAlias()
           
 String getIfDescr()
           
 int getIfIndex()
           
 String getIfName()
           
 int getIfType()
           
 String getIpHostname()
           
 int getNodeid()
           
 int getSnmpInterfaceId()
           
 String getStatus()
           
 int hashCode()
           
 void setAddress(String newAddress)
           
 void setCollectFlag(String newCollectFlag)
           
 void setIfAlias(String newIfAlias)
           
 void setIfDescr(String newIfDescr)
           
 void setIfIndex(int index)
           
 void setIfName(String newIfName)
           
 void setIfType(int newIfType)
           
 void setIpHostname(String newIpHostname)
           
 void setNodeid(int id)
           
 void setSnmpInterfaceId(int newId)
           
 void setStatus(String newStatus)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

m_id

protected int m_id

m_address

protected String m_address

m_nodeId

protected int m_nodeId

m_ifIndex

protected int m_ifIndex

m_ipHostname

protected String m_ipHostname

m_snmpStatus

protected String m_snmpStatus

m_ifDescr

protected String m_ifDescr

m_ifType

protected int m_ifType

m_ifName

protected String m_ifName

m_ifAlias

protected String m_ifAlias

m_collectFlag

protected String m_collectFlag
Constructor Detail

SnmpManagedInterface

public SnmpManagedInterface()
Method Detail

setSnmpInterfaceId

public void setSnmpInterfaceId(int newId)

getSnmpInterfaceId

public int getSnmpInterfaceId()

setAddress

public void setAddress(String newAddress)

getAddress

public String getAddress()

setNodeid

public void setNodeid(int id)

getNodeid

public int getNodeid()

setIfIndex

public void setIfIndex(int index)

getIfIndex

public int getIfIndex()

setIpHostname

public void setIpHostname(String newIpHostname)

getIpHostname

public String getIpHostname()

setStatus

public void setStatus(String newStatus)

getStatus

public String getStatus()

setIfDescr

public void setIfDescr(String newIfDescr)

getIfDescr

public String getIfDescr()

setIfType

public void setIfType(int newIfType)

getIfType

public int getIfType()

setIfName

public void setIfName(String newIfName)

getIfName

public String getIfName()

getIfAlias

public String getIfAlias()

setIfAlias

public void setIfAlias(String newIfAlias)

getCollectFlag

public String getCollectFlag()

setCollectFlag

public void setCollectFlag(String newCollectFlag)

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(SnmpManagedInterface obj)
Specified by:
compareTo in interface Comparable<SnmpManagedInterface>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009. All Rights Reserved.