Package org.opennms.web.element
Class Interface
- java.lang.Object
-
- org.opennms.web.element.Interface
-
public class Interface extends java.lang.Object
Interface class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createIpInterface(OnmsIpInterface ipIface)
void
createSnmpInterface(OnmsSnmpInterface snmpIface)
java.lang.String
getHostname()
getHostnameint
getId()
getIdint
getIfIndex()
getIfIndexjava.lang.String
getIpAddress()
getIpAddressjava.util.List<java.lang.String>
getIpaddresses()
int
getIpStatus()
getIpStatusjava.lang.String
getIsSnmpPrimary()
getIsSnmpPrimaryjava.lang.String
getLastCapsdPoll()
getLastCapsdPolljava.lang.String
getName()
getNameint
getNodeId()
getNodeIdjava.lang.String
getPhysicalAddress()
getPhysicalAddressint
getSnmpIfAdminStatus()
getSnmpIfAdminStatusjava.lang.String
getSnmpIfAlias()
getSnmpIfAliasjava.lang.String
getSnmpIfDescription()
getSnmpIfDescriptionint
getSnmpIfIndex()
getSnmpIfIndexjava.lang.String
getSnmpIfName()
getSnmpIfNameint
getSnmpIfOperStatus()
getSnmpIfOperStatuslong
getSnmpIfSpeed()
getSnmpIfSpeedint
getSnmpIfType()
getSnmpIfTypejava.lang.String
getSnmpLastCapsdPoll()
getSnmpLastCapsdPolljava.lang.String
getSnmpLastSnmpPoll()
getSnmpLastSnmpPollboolean
hasIpAddresses()
boolean
isManaged()
isManagedchar
isManagedChar()
isManagedCharboolean
isSnmpPoll()
isSnmpPollchar
isSnmpPollChar()
isSnmpPollCharvoid
setIpaddresses(java.util.List<java.lang.String> ipaddresses)
java.lang.String
toString()
toString
-
-
-
Method Detail
-
createSnmpInterface
public void createSnmpInterface(OnmsSnmpInterface snmpIface)
-
createIpInterface
public void createIpInterface(OnmsIpInterface ipIface)
-
getIpaddresses
public java.util.List<java.lang.String> getIpaddresses()
-
setIpaddresses
public void setIpaddresses(java.util.List<java.lang.String> ipaddresses)
-
hasIpAddresses
public boolean hasIpAddresses()
-
getId
public int getId()
getId
- Returns:
- a int.
-
getNodeId
public int getNodeId()
getNodeId
- Returns:
- a int.
-
getIfIndex
public int getIfIndex()
getIfIndex
- Returns:
- a int.
-
getIpStatus
public int getIpStatus()
getIpStatus
- Returns:
- a int.
-
getHostname
public java.lang.String getHostname()
getHostname
- Returns:
- a
String
object.
-
getIpAddress
public java.lang.String getIpAddress()
getIpAddress
- Returns:
- a
String
object.
-
isManagedChar
public char isManagedChar()
isManagedChar
- Returns:
- a char.
-
getLastCapsdPoll
public java.lang.String getLastCapsdPoll()
getLastCapsdPoll
- Returns:
- a
String
object.
-
getSnmpIfIndex
public int getSnmpIfIndex()
getSnmpIfIndex
- Returns:
- a int.
-
getPhysicalAddress
public java.lang.String getPhysicalAddress()
getPhysicalAddress
- Returns:
- a
String
object.
-
getSnmpIfDescription
public java.lang.String getSnmpIfDescription()
getSnmpIfDescription
- Returns:
- a
String
object.
-
getSnmpIfName
public java.lang.String getSnmpIfName()
getSnmpIfName
- Returns:
- a
String
object.
-
getSnmpIfType
public int getSnmpIfType()
getSnmpIfType
- Returns:
- a int.
-
getSnmpIfOperStatus
public int getSnmpIfOperStatus()
getSnmpIfOperStatus
- Returns:
- a int.
-
getSnmpIfSpeed
public long getSnmpIfSpeed()
getSnmpIfSpeed
- Returns:
- a long.
-
getSnmpIfAdminStatus
public int getSnmpIfAdminStatus()
getSnmpIfAdminStatus
- Returns:
- a int.
-
isSnmpPollChar
public char isSnmpPollChar()
isSnmpPollChar
- Returns:
- a char.
-
getSnmpLastSnmpPoll
public java.lang.String getSnmpLastSnmpPoll()
getSnmpLastSnmpPoll
- Returns:
- a
String
object.
-
getSnmpLastCapsdPoll
public java.lang.String getSnmpLastCapsdPoll()
getSnmpLastCapsdPoll
- Returns:
- a
String
object.
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a
String
object.
-
isManaged
public boolean isManaged()
isManaged
- Returns:
- a boolean.
-
isSnmpPoll
public boolean isSnmpPoll()
isSnmpPoll
- Returns:
- a boolean.
-
getSnmpIfAlias
public java.lang.String getSnmpIfAlias()
getSnmpIfAlias
- Returns:
- a
String
object.
-
getIsSnmpPrimary
public java.lang.String getIsSnmpPrimary()
getIsSnmpPrimary
- Returns:
- a
String
object.
-
getName
public java.lang.String getName()
getName
- Returns:
- a
String
object.
-
-