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 voidaddService(ManagedService newService)addServiceStringgetAddress()Getter for the fieldaddress.intgetNodeid()Getter for the fieldnodeid.intgetServiceCount()getServiceCountList<ManagedService>getServices()Getter for the fieldservices.StringgetStatus()Getter for the fieldstatus.voidsetAddress(String newAddress)Setter for the fieldaddress.voidsetNodeid(int id)Setter for the fieldnodeid.voidsetStatus(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- aManagedServiceobject.
-
setAddress
public void setAddress(String newAddress)
Setter for the field
address.- Parameters:
newAddress- aStringobject.
-
getServices
public List<ManagedService> getServices()
Getter for the field
services.- Returns:
- a
Listobject.
-
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- aStringobject.
-
-