Package org.hotrod.torcs
Class DataSourceReference
- java.lang.Object
-
- org.hotrod.torcs.DataSourceReference
-
public class DataSourceReference extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDataSourceReference(int id, DataSource dataSource)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSourcegetDataSource()intgetId()PlanRetrievergetPlanRetriever()booleanmultipleDataSources()static DataSourceReferenceof(DataSource dataSource)
-
-
-
Constructor Detail
-
DataSourceReference
protected DataSourceReference(int id, DataSource dataSource)
-
-
Method Detail
-
getId
public int getId()
-
getDataSource
public DataSource getDataSource()
-
getPlanRetriever
public PlanRetriever getPlanRetriever() throws SQLException, PlanRetrieverFactory.UnsupportedTorcsDatabaseException
-
multipleDataSources
public boolean multipleDataSources()
-
of
public static DataSourceReference of(DataSource dataSource)
-
-