org.castor.jdo.conf

Class DatabaseChoice

Implemented Interfaces:
java.io.Serializable

public class DatabaseChoice
extends java.lang.Object
implements java.io.Serializable

Class DatabaseChoice.
Version:
$Revision: 5979 $ $Date$
See Also:
Serialized Form

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(java.io.Writer out)
Method marshal
void
marshal(org.xml.sax.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(java.io.Reader reader)
Method unmarshal
void
validate()
Method validate

Constructor Details

DatabaseChoice

public DatabaseChoice()

Method Details

getDataSource

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

getDriver

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

getJndi

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

isValid

public boolean isValid()
Method isValid
Returns:
boolean

marshal

public void marshal(java.io.Writer out)
            throws MarshalException,
                   ValidationException
Method marshal
Parameters:
out -

marshal

public void marshal(org.xml.sax.ContentHandler handler)
            throws java.io.IOException,
                   MarshalException,
                   ValidationException
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(java.io.Reader reader)
            throws MarshalException,
                   ValidationException
Method unmarshal
Parameters:
reader -
Returns:
DatabaseChoice

validate

public void validate()
            throws ValidationException
Method validate

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com