|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.jdo.conf.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 Database |
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 org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.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 Database unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||