org.opennms.web.admin.nodeManagement
Class ManagedInterface

java.lang.Object
  extended by 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

Field Summary
protected  String address
           
protected  int nodeid
           
protected  List<ManagedService> services
           
protected  String status
           
 
Constructor Summary
ManagedInterface()
          Constructor for ManagedInterface.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

protected String address

services

protected List<ManagedService> services

status

protected String status

nodeid

protected int nodeid
Constructor Detail

ManagedInterface

public ManagedInterface()

Constructor for ManagedInterface.

Method Detail

addService

public void addService(ManagedService newService)

addService

Parameters:
newService - a ManagedService object.

setAddress

public void setAddress(String newAddress)

Setter for the field address.

Parameters:
newAddress - a String object.

getAddress

public String getAddress()

Getter for the field address.

Returns:
a String 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 - a String object.

getStatus

public String getStatus()

Getter for the field status.

Returns:
a String object.


Copyright © 2011. All Rights Reserved.