|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.config.transfer.jdbc.Factory
public final class Factory
Creates instances of JdbcPropertySink
.
Constructor Summary | |
---|---|
Factory() Default constructor. |
Method Summary | |
---|---|
JdbcPropertySink |
create() Creates an instance of PropertySink . |
String |
getDatabaseId() Returns the database identifier to select the datasource proxy for a database product. |
String |
getJdbcUrl() Returns the JDBC URL to the database. |
String |
getPassword() Returns the password to authenticate against the database. |
String |
getUser() Returns the user to authenticate against the database. |
boolean |
isCreateTable() Returns the flag that signals to create properties table ( true ) or not ( false ). |
boolean |
isDropTable() Returns the flag that signals to drop properties table ( true ) or not ( false ). |
void |
setCreateTable(boolean createTable) Sets the flag that signals to create properties table ( true ) or not ( false ). |
void |
setDatabaseId(String databaseId) Sets the database identifier to select the datasource proxy for a database product. |
void |
setDropTable(boolean dropTable) Sets the flag that signals to drop properties table ( true ) or not ( false ). |
void |
setJdbcUrl(String jdbcUrl) Sets the JDBC URL to the database. |
void |
setPassword(String password) Sets the password to authenticate against the database. |
void |
setUser(String user) Sets the user to authenticate against the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Factory()
Method Detail |
---|
public String getDatabaseId()
public void setDatabaseId(String databaseId)
databaseId
- the database identifier to select the datasource proxy for a database product.
public String getJdbcUrl()
public void setJdbcUrl(String jdbcUrl)
jdbcUrl
- the JDBC URL to the database.
public String getUser()
public void setUser(String user)
user
- the user to authenticate against the database.
public String getPassword()
public void setPassword(String password)
password
- the password to authenticate against the database.
public boolean isDropTable()
true
) or not (
false
).
true
) or not (
false
).
public void setDropTable(boolean dropTable)
true
) or not (
false
).
dropTable
- the flag that signals to drop properties table (
true
) or not (
false
).
public boolean isCreateTable()
true
) or not (
false
).
true
) or not (
false
).
public void setCreateTable(boolean createTable)
true
) or not (
false
).
createTable
- the flag that signals to create properties table (
true
) or not (
false
).
public JdbcPropertySink create()
PropertySinkFactory
PropertySink
.
create
in interface
PropertySinkFactory<JdbcPropertySink>
PropertySink
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |