Class ManagedInterface
- java.lang.Object
-
- org.opennms.web.admin.nodeManagement.ManagedInterface
-
public class ManagedInterface extends Object
A servlet that stores interface information- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- Jason Johns , OpenNMS , Jason Johns , OpenNMS
-
-
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)
addServiceString
getAddress()
Getter for the fieldaddress
.int
getNodeid()
Getter for the fieldnodeid
.int
getServiceCount()
getServiceCountList<ManagedService>
getServices()
Getter for the fieldservices
.String
getStatus()
Getter for the fieldstatus
.void
setAddress(String newAddress)
Setter for the fieldaddress
.void
setNodeid(int id)
Setter for the fieldnodeid
.void
setStatus(String newStatus)
Setter for the fieldstatus
.
-
-
-
Field Detail
-
address
protected String address
-
services
protected List<ManagedService> services
-
status
protected String status
-
nodeid
protected int nodeid
-
-
Method Detail
-
addService
public void addService(ManagedService newService)
addService
- Parameters:
newService
- aManagedService
object.
-
setAddress
public void setAddress(String newAddress)
Setter for the field
address
.- Parameters:
newAddress
- aString
object.
-
getServices
public 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(String newStatus)
Setter for the field
status
.- Parameters:
newStatus
- aString
object.
-
-