org.exolab.castor.jdo.conf
public class Database extends Object implements Serializable
Version: $Revision: 1.3 $ $Date: 2005/03/05 13:41:50 $
| 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 Object | unmarshal(Reader reader)
Method unmarshal
|
| void | validate()
Method validate |
Parameters: vMapping
Parameters: index vMapping
Returns: the value of field 'databaseChoice'.
Returns: the value of field 'engine'.
Parameters: index
Returns: the value of field 'name'.
Parameters: out
Parameters: handler
Parameters: vMapping
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