Package com.ribs.datasource
Class RMDataSourceJDBC
java.lang.Object
com.ribs.datasource.RMDataSource
com.ribs.datasource.RMDataSourceJDBC
This class provides a datasource representing a JDBC database fetch.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanStandard equals implementation.fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.Returns the connection info URL.Returns a schema for this datasource's database.Returns the dataset for this datasource.Returns the driver class name.getError()Returns any error string from datasource reload.intReturns the limit on the number of objects to fetch.Returns the list name.Returns the password.getQuery()Returns the query string.Returns the schema for this datasource's dataset.Returns the user name.voidsetConnectionURL(String aURL) Sets the connection info URL.voidsetDriverClassName(String aName) Sets the driver class name.voidSets any error string from datasource reload.voidsetFetchLimit(int aValue) Sets the limit on the number of objects to fetch.voidsetListName(String aName) Sets the list name.voidsetPassword(String aPassword) Sets the password.voidSets the query string.voidsetUserName(String aName) Sets the user name.toXML(RXArchiver anArchiver) XML archival.Methods inherited from class com.ribs.datasource.RMDataSourcegetEntity, getName, getRelation, setName, toString
- 
Constructor Details- 
RMDataSourceJDBCpublic RMDataSourceJDBC()Creates a new RMDataSource JDBC.
 
- 
- 
Method Details- 
getDriverClassNameReturns the driver class name.
- 
setDriverClassNameSets the driver class name.
- 
getConnectionURLReturns the connection info URL.
- 
setConnectionURLSets the connection info URL.
- 
getUserNameReturns the user name.
- 
setUserNameSets the user name.
- 
getPasswordReturns the password.
- 
setPasswordSets the password.
- 
getListNameReturns the list name.
- 
setListNameSets the list name.
- 
getQueryReturns the query string.
- 
setQuerySets the query string.
- 
getFetchLimitpublic int getFetchLimit()Returns the limit on the number of objects to fetch.
- 
setFetchLimitpublic void setFetchLimit(int aValue) Sets the limit on the number of objects to fetch.
- 
getSchemaReturns the schema for this datasource's dataset.- Overrides:
- getSchemain class- RMDataSource
 
- 
getDatasetReturns the dataset for this datasource.- Overrides:
- getDatasetin class- RMDataSource
 
- 
getErrorReturns any error string from datasource reload.- Overrides:
- getErrorin class- RMDataSource
 
- 
setErrorSets any error string from datasource reload.
- 
getDatabaseSchemaReturns a schema for this datasource's database.
- 
equalsStandard equals implementation.
- 
toXMLXML archival.- Overrides:
- toXMLin class- RMDataSource
 
- 
fromXMLXML unarchival.- Overrides:
- fromXMLin class- RMDataSource
 
 
-