net.simplace.simulation.io.resources.adapter.DatabaseResourceAdapter




public class DatabaseResourceAdapter extends
net.simplace.simulation.io.resources.FWSimResourceAdapter {
// Public Constructors
public DatabaseResourceAdapter(Element aResourceElement, FWSimSession
aSession, int aOrderNumber);
public DatabaseResourceAdapter(String aPoolName, String aComponentName, int
aOrderNumber, FWSimSession aFwSimSession, FWSimIOAdapter.FREQUENCE
aFrequence, Map aKeyMap, String aDriver, String aUrl, String aUser,
String aPass, String aStatement) throws Exception;
public DatabaseResourceAdapter(FWSimResourceAdapter aAdapter,
DatabaseInterface aInterface);


// Public Instance Methods
public FWSimResourceCache getData(FWSimVarMap aVarMap)
throws MissingSimResourceException; // Defines
net.simplace.simulation.io.resources.FWSimInputAdapter


public ResultSet getResultSet(FWSimVarMap aVarMap)
throws MissingSimResourceException;


returns the result set produced with given SQLStatement
public String getStatement();


returns the statement
public Map readHeaderList(DatabaseInterface aInterface, String aStatement,
Map aKeyMap, FWSimSession aSession) throws Exception;


returns the HeaderList


}



Hierarchy: java.lang.Object - net.simplace.simulation.io.FWSimIOAdapter (net.simplace.simulation.util.FWSimFieldContainer) - net.simplace.simulation.io.resources.FWSimInputAdapter - net.simplace.simulation.io.resources.FWSimResourceAdapter - DatabaseResourceAdapter