Class ManagedInterface
- java.lang.Object
-
- org.opennms.web.admin.nodeManagement.ManagedInterface
-
public class ManagedInterface extends java.lang.Object
A servlet that stores interface information- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- Jason Johns , OpenNMS , Jason Johns , OpenNMS
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
address
protected int
nodeid
protected java.util.List<ManagedService>
services
protected java.lang.String
status
-
Constructor Summary
Constructors Constructor Description ManagedInterface()
Constructor for ManagedInterface.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addService(ManagedService newService)
addServicejava.lang.String
getAddress()
Getter for the fieldaddress
.int
getNodeid()
Getter for the fieldnodeid
.int
getServiceCount()
getServiceCountjava.util.List<ManagedService>
getServices()
Getter for the fieldservices
.java.lang.String
getStatus()
Getter for the fieldstatus
.void
setAddress(java.lang.String newAddress)
Setter for the fieldaddress
.void
setNodeid(int id)
Setter for the fieldnodeid
.void
setStatus(java.lang.String newStatus)
Setter for the fieldstatus
.
-
-
-
Field Detail
-
address
protected java.lang.String address
-
services
protected java.util.List<ManagedService> services
-
status
protected java.lang.String status
-
nodeid
protected int nodeid
-
-
Method Detail
-
addService
public void addService(ManagedService newService)
addService
- Parameters:
newService
- aManagedService
object.
-
setAddress
public void setAddress(java.lang.String newAddress)
Setter for the field
address
.- Parameters:
newAddress
- aString
object.
-
getAddress
public java.lang.String getAddress()
Getter for the field
address
.- Returns:
- a
String
object.
-
getServices
public java.util.List<ManagedService> getServices()
Getter for the field
services
.- Returns:
- a
List
object.
-
getServiceCount
public int getServiceCount()
getServiceCount
- Returns:
- a int.
-
setNodeid
public void setNodeid(int id)
Setter for the field
nodeid
.- Parameters:
id
- a int.
-
getNodeid
public int getNodeid()
Getter for the field
nodeid
.- Returns:
- a int.
-
setStatus
public void setStatus(java.lang.String newStatus)
Setter for the field
status
.- Parameters:
newStatus
- aString
object.
-
getStatus
public java.lang.String getStatus()
Getter for the field
status
.- Returns:
- a
String
object.
-
-