|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.jdo.conf.Database
public class Database
Class Database.
| Constructor Summary | |
|---|---|
Database()
|
|
| Method Summary | |
|---|---|
void |
addMapping(int index,
Mapping vMapping)
Method addMapping |
void |
addMapping(Mapping vMapping)
Method addMapping |
void |
clearMapping()
Method clearMapping |
java.util.Enumeration |
enumerateMapping()
Method enumerateMapping |
DatabaseChoice |
getDatabaseChoice()
Returns the value of field 'databaseChoice'. |
java.lang.String |
getEngine()
Returns the value of field 'engine'. |
Mapping[] |
getMapping()
Method getMapping |
Mapping |
getMapping(int index)
Method getMapping |
int |
getMappingCount()
Method getMappingCount |
java.lang.String |
getName()
Returns the value of field 'name'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeMapping(Mapping vMapping)
Method removeMapping |
void |
setDatabaseChoice(DatabaseChoice databaseChoice)
Sets the value of field 'databaseChoice'. |
void |
setEngine(java.lang.String engine)
Sets the value of field 'engine'. |
void |
setMapping(int index,
Mapping vMapping)
Method setMapping |
void |
setMapping(Mapping[] mappingArray)
Method setMapping |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Database()
| Method Detail |
|---|
public void addMapping(Mapping vMapping)
throws java.lang.IndexOutOfBoundsException
vMapping -
java.lang.IndexOutOfBoundsException
public void addMapping(int index,
Mapping vMapping)
throws java.lang.IndexOutOfBoundsException
index - vMapping -
java.lang.IndexOutOfBoundsExceptionpublic void clearMapping()
public java.util.Enumeration enumerateMapping()
public DatabaseChoice getDatabaseChoice()
public java.lang.String getEngine()
public Mapping getMapping(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Mapping[] getMapping()
public int getMappingCount()
public java.lang.String getName()
public boolean isValid()
public void marshal(java.io.Writer out)
throws MarshalException,
ValidationException
out -
MarshalException
ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
MarshalException,
ValidationException
handler -
java.io.IOException
MarshalException
ValidationExceptionpublic boolean removeMapping(Mapping vMapping)
vMapping - public void setDatabaseChoice(DatabaseChoice databaseChoice)
databaseChoice - the value of field 'databaseChoice'.public void setEngine(java.lang.String engine)
engine - the value of field 'engine'.
public void setMapping(int index,
Mapping vMapping)
throws java.lang.IndexOutOfBoundsException
index - vMapping -
java.lang.IndexOutOfBoundsExceptionpublic void setMapping(Mapping[] mappingArray)
mappingArray - public void setName(java.lang.String name)
name - the value of field 'name'.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws MarshalException,
ValidationException
reader -
MarshalException
ValidationException
public void validate()
throws ValidationException
ValidationException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||