Class SnmpManagedNode
- java.lang.Object
-
- org.opennms.web.admin.nodeManagement.SnmpManagedNode
-
public class SnmpManagedNode extends java.lang.Object
A servlet that stores node, interface, service information for setting up SNMP data collection- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- Tarus Balog , OpenNMS , Tarus Balog , OpenNMS
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<SnmpManagedInterface>
interfaces
protected int
nodeID
protected java.lang.String
nodeLabel
-
Constructor Summary
Constructors Constructor Description SnmpManagedNode()
Constructor for SnmpManagedNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInterface(SnmpManagedInterface newInterface)
addInterfaceint
getInterfaceCount()
getInterfaceCountjava.util.List<SnmpManagedInterface>
getInterfaces()
Getter for the fieldinterfaces
.int
getNodeID()
Getter for the fieldnodeID
.java.lang.String
getNodeLabel()
Getter for the fieldnodeLabel
.void
setNodeID(int id)
Setter for the fieldnodeID
.void
setNodeLabel(java.lang.String label)
Setter for the fieldnodeLabel
.
-
-
-
Field Detail
-
nodeID
protected int nodeID
-
nodeLabel
protected java.lang.String nodeLabel
-
interfaces
protected java.util.List<SnmpManagedInterface> interfaces
-
-
Method Detail
-
setNodeID
public void setNodeID(int id)
Setter for the field
nodeID
.- Parameters:
id
- a int.
-
setNodeLabel
public void setNodeLabel(java.lang.String label)
Setter for the field
nodeLabel
.- Parameters:
label
- aString
object.
-
addInterface
public void addInterface(SnmpManagedInterface newInterface)
addInterface
- Parameters:
newInterface
- aSnmpManagedInterface
object.
-
getInterfaceCount
public int getInterfaceCount()
getInterfaceCount
- Returns:
- a int.
-
getNodeID
public int getNodeID()
Getter for the field
nodeID
.- Returns:
- a int.
-
getNodeLabel
public java.lang.String getNodeLabel()
Getter for the field
nodeLabel
.- Returns:
- a
String
object.
-
getInterfaces
public java.util.List<SnmpManagedInterface> getInterfaces()
Getter for the field
interfaces
.- Returns:
- a
List
object.
-
-