Package org.opennms.web.element
Class Interface
- java.lang.Object
-
- org.opennms.web.element.Interface
-
public class Interface extends Object
Interface class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateIpInterface(OnmsIpInterface ipIface)voidcreateSnmpInterface(OnmsSnmpInterface snmpIface)StringgetHostname()getHostnameintgetId()getIdintgetIfIndex()getIfIndexStringgetIpAddress()getIpAddressList<String>getIpaddresses()intgetIpStatus()getIpStatusStringgetIsSnmpPrimary()getIsSnmpPrimaryStringgetLastCapsdPoll()getLastCapsdPollStringgetName()getNameintgetNodeId()getNodeIdStringgetPhysicalAddress()getPhysicalAddressintgetSnmpIfAdminStatus()getSnmpIfAdminStatusStringgetSnmpIfAlias()getSnmpIfAliasStringgetSnmpIfDescription()getSnmpIfDescriptionintgetSnmpIfIndex()getSnmpIfIndexStringgetSnmpIfName()getSnmpIfNameintgetSnmpIfOperStatus()getSnmpIfOperStatuslonggetSnmpIfSpeed()getSnmpIfSpeedintgetSnmpIfType()getSnmpIfTypeStringgetSnmpLastCapsdPoll()getSnmpLastCapsdPollStringgetSnmpLastSnmpPoll()getSnmpLastSnmpPollbooleanhasIpAddresses()booleanisManaged()isManagedcharisManagedChar()isManagedCharbooleanisSnmpPoll()isSnmpPollcharisSnmpPollChar()isSnmpPollCharvoidsetIpaddresses(List<String> ipaddresses)StringtoString()toString
-
-
-
Method Detail
-
createSnmpInterface
public void createSnmpInterface(OnmsSnmpInterface snmpIface)
-
createIpInterface
public void createIpInterface(OnmsIpInterface ipIface)
-
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.
-
isManagedChar
public char isManagedChar()
isManagedChar
- Returns:
- a char.
-
getSnmpIfIndex
public int getSnmpIfIndex()
getSnmpIfIndex
- Returns:
- a int.
-
getSnmpIfDescription
public String getSnmpIfDescription()
getSnmpIfDescription
- Returns:
- a
Stringobject.
-
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 String getSnmpLastSnmpPoll()
getSnmpLastSnmpPoll
- Returns:
- a
Stringobject.
-
getSnmpLastCapsdPoll
public String getSnmpLastCapsdPoll()
getSnmpLastCapsdPoll
- Returns:
- a
Stringobject.
-
toString
public String toString()
toString
-
isManaged
public boolean isManaged()
isManaged
- Returns:
- a boolean.
-
isSnmpPoll
public boolean isSnmpPoll()
isSnmpPoll
- Returns:
- a boolean.
-
-