org.apache.lokahi.core.common.interfaces
Interface Dao<T extends Dao>

All Known Subinterfaces:
Cacheable
All Known Implementing Classes:
AbilityDAO, AgentJob, AlertDAO, AMPoolWorker, Apache, ApachePool, ApacheWorker, Application, DatabaseAuthentication, Environment, File, Function, FunctionableEntity, Global, Hardware, HelpItemDAO, HostingPool, Instance, Ip, Job, JobPool, MonitoringJob, Project, ScheduledJob, TMCDao, TMPoolWorker, Tomcat, TomcatContext, TomcatPool, TomcatWorker, User, VirtualHost, XMLDao

public interface Dao<T extends Dao>

Required for use of any of the database brokers.

Version:
$Id$
Author:
Stephen Toback
See Also:
GenericDatabaseBroker

Method Summary
 T fillObject(java.sql.ResultSet r)
          Creates the Dao from the passed resultset, internally calling the appriate constructor.
 

Method Detail

fillObject

T fillObject(java.sql.ResultSet r)
                         throws java.sql.SQLException
Creates the Dao from the passed resultset, internally calling the appriate constructor.

Parameters:
r - the resultset from a database call, should include the entire object
Returns:
Object populated from the resultset
Throws:
java.sql.SQLException