org.castor.jdo.conf
public class Database extends Object implements Serializable
Version: $Revision: 5979 $ $Date$
Constructor Summary | |
---|---|
Database() |
Method Summary | |
---|---|
void | addMapping(Mapping vMapping)
Method addMapping
|
void | addMapping(int index, Mapping vMapping)
Method addMapping
|
void | clearMapping()
Method clearMapping
|
Enumeration | enumerateMapping()
Method enumerateMapping
|
DatabaseChoice | getDatabaseChoice()
Returns the value of field 'databaseChoice'.
|
String | getEngine()
Returns the value of field 'engine'.
|
Mapping | getMapping(int index)
Method getMapping
|
Mapping[] | getMapping()
Method getMapping
|
int | getMappingCount()
Method getMappingCount
|
String | getName()
Returns the value of field 'name'.
|
boolean | isValid()
Method isValid
|
void | marshal(Writer out)
Method marshal
|
void | marshal(ContentHandler handler)
Method marshal
|
boolean | removeMapping(Mapping vMapping)
Method removeMapping
|
void | setDatabaseChoice(DatabaseChoice databaseChoice)
Sets the value of field 'databaseChoice'.
|
void | setEngine(String engine)
Sets the value of field 'engine'.
|
void | setMapping(int index, Mapping vMapping)
Method setMapping
|
void | setMapping(Mapping[] mappingArray)
Method setMapping
|
void | setName(String name)
Sets the value of field 'name'.
|
static Database | unmarshal(Reader reader)
Method unmarshal
|
void | validate()
Method validate
|
Parameters: vMapping
Parameters: index vMapping
Returns: Enumeration
Returns: DatabaseChoice the value of field 'databaseChoice'.
Returns: String the value of field 'engine'.
Parameters: index
Returns: Mapping
Returns: Mapping
Returns: int
Returns: String the value of field 'name'.
Returns: boolean
Parameters: out
Parameters: handler
Parameters: vMapping
Returns: boolean
Parameters: databaseChoice the value of field 'databaseChoice'.
Parameters: engine the value of field 'engine'.
Parameters: index vMapping
Parameters: mappingArray
Parameters: name the value of field 'name'.
Parameters: reader
Returns: Database