org.opennms.web.map.db.datasources
Interface DataSourceInterface

All Known Implementing Classes:
ServerDataSource

public interface DataSourceInterface

The interface DataSource provide a way to get data named like the input.

Author:
mmigliore, Antonio Russo, DJ Gregor

Method Summary
 double getAvailability(Object id)
          Gets the availability of the element with id in input using params in input
 String getSeverity(Object id)
          Gets the severity of the element with id in input using params in input
 String getStatus(Object id)
          Gets the status of the element with id in input using params in input
 

Method Detail

getStatus

String getStatus(Object id)
Gets the status of the element with id in input using params in input

Parameters:
velem -
params -
Returns:
the status of velem, -1 if no status is found for velem

getSeverity

String getSeverity(Object id)
Gets the severity of the element with id in input using params in input

Parameters:
velem -
params -
Returns:
the severity of velem, -1 if no severity is found for velem

getAvailability

double getAvailability(Object id)
Gets the availability of the element with id in input using params in input

Parameters:
velem -
params -
Returns:
the availability of velem, -1 if no availability is found for velem


Copyright © 2009. All Rights Reserved.