public class ManagedInterface extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected int |
nodeid |
protected List<ManagedService> |
services |
protected String |
status |
| Constructor and Description |
|---|
ManagedInterface()
Constructor for ManagedInterface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addService(ManagedService newService)
addService
|
String |
getAddress()
Getter for the field
address. |
int |
getNodeid()
Getter for the field
nodeid. |
int |
getServiceCount()
getServiceCount
|
List<ManagedService> |
getServices()
Getter for the field
services. |
String |
getStatus()
Getter for the field
status. |
void |
setAddress(String newAddress)
Setter for the field
address. |
void |
setNodeid(int id)
Setter for the field
nodeid. |
void |
setStatus(String newStatus)
Setter for the field
status. |
protected String address
protected List<ManagedService> services
protected String status
protected int nodeid
public void addService(ManagedService newService)
addService
newService - a ManagedService object.public void setAddress(String newAddress)
Setter for the field address.
newAddress - a String object.public List<ManagedService> getServices()
Getter for the field services.
List object.public int getServiceCount()
getServiceCount
public void setNodeid(int id)
Setter for the field nodeid.
id - a int.public int getNodeid()
Getter for the field nodeid.
public void setStatus(String newStatus)
Setter for the field status.
newStatus - a String object.Copyright © 2020. All rights reserved.