public class HsqlConnectionType extends Object implements ValueFactory<Connection>, Serializable
SQLJob
for an example.ValueFactory.Conversions
Constructor and Description |
---|
HsqlConnectionType() |
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Get the password.
|
String |
getUrl()
Get the url.
|
String |
getUsername()
Get the username.
|
void |
setPassword(String password)
Set the password.
|
void |
setUrl(String url)
Set the url.
|
void |
setUsername(String username)
Set the username.
|
String |
toString() |
Connection |
toValue()
Provide an instance of the type this is a factory for.
|
public static final String DRIVER
public Connection toValue()
ValueFactory
toValue
in interface ValueFactory<Connection>
public String getPassword()
public void setPassword(String password)
password
- The password.public String getUrl()
public void setUrl(String url)
url
- The urlpublic String getUsername()
public void setUsername(String username)
username
- The username.