org.castor.jdo.conf

Class DatabaseChoice

public class DatabaseChoice extends Object implements Serializable

Class DatabaseChoice.

Version: $Revision: 5979 $ $Date$

Constructor Summary
DatabaseChoice()
Method Summary
DataSourcegetDataSource()
Returns the value of field 'dataSource'.
DrivergetDriver()
Returns the value of field 'driver'.
JndigetJndi()
Returns the value of field 'jndi'.
booleanisValid()
Method isValid
voidmarshal(Writer out)
Method marshal
voidmarshal(ContentHandler handler)
Method marshal
voidsetDataSource(DataSource dataSource)
Sets the value of field 'dataSource'.
voidsetDriver(Driver driver)
Sets the value of field 'driver'.
voidsetJndi(Jndi jndi)
Sets the value of field 'jndi'.
static DatabaseChoiceunmarshal(Reader reader)
Method unmarshal
voidvalidate()
Method validate

Constructor Detail

DatabaseChoice

public DatabaseChoice()

Method Detail

getDataSource

public DataSource getDataSource()
Returns the value of field 'dataSource'.

Returns: DataSource the value of field 'dataSource'.

getDriver

public Driver getDriver()
Returns the value of field 'driver'.

Returns: Driver the value of field 'driver'.

getJndi

public Jndi getJndi()
Returns the value of field 'jndi'.

Returns: Jndi the value of field 'jndi'.

isValid

public boolean isValid()
Method isValid

Returns: boolean

marshal

public void marshal(Writer out)
Method marshal

Parameters: out

marshal

public void marshal(ContentHandler handler)
Method marshal

Parameters: handler

setDataSource

public void setDataSource(DataSource dataSource)
Sets the value of field 'dataSource'.

Parameters: dataSource the value of field 'dataSource'.

setDriver

public void setDriver(Driver driver)
Sets the value of field 'driver'.

Parameters: driver the value of field 'driver'.

setJndi

public void setJndi(Jndi jndi)
Sets the value of field 'jndi'.

Parameters: jndi the value of field 'jndi'.

unmarshal

public static DatabaseChoice unmarshal(Reader reader)
Method unmarshal

Parameters: reader

Returns: DatabaseChoice

validate

public void validate()
Method validate
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com