org.castor.jdo.conf
public class DatabaseChoice extends Object implements Serializable
Version: $Revision: 5979 $ $Date$
| Constructor Summary | |
|---|---|
| DatabaseChoice() | |
| Method Summary | |
|---|---|
| DataSource | getDataSource()
Returns the value of field 'dataSource'.
|
| Driver | getDriver()
Returns the value of field 'driver'.
|
| Jndi | getJndi()
Returns the value of field 'jndi'.
|
| boolean | isValid()
Method isValid
|
| void | marshal(Writer out)
Method marshal
|
| void | marshal(ContentHandler handler)
Method marshal
|
| void | setDataSource(DataSource dataSource)
Sets the value of field 'dataSource'.
|
| void | setDriver(Driver driver)
Sets the value of field 'driver'.
|
| void | setJndi(Jndi jndi)
Sets the value of field 'jndi'.
|
| static DatabaseChoice | unmarshal(Reader reader)
Method unmarshal
|
| void | validate()
Method validate
|
Returns: DataSource the value of field 'dataSource'.
Returns: Driver the value of field 'driver'.
Returns: Jndi the value of field 'jndi'.
Returns: boolean
Parameters: out
Parameters: handler
Parameters: dataSource the value of field 'dataSource'.
Parameters: driver the value of field 'driver'.
Parameters: jndi the value of field 'jndi'.
Parameters: reader
Returns: DatabaseChoice