public class Database
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Database() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public void addMapping(Mapping vMapping) throws java.lang.IndexOutOfBoundsException
vMapping - java.lang.IndexOutOfBoundsExceptionpublic 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 - MarshalExceptionValidationExceptionpublic void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
MarshalException,
ValidationException
handler - java.io.IOExceptionMarshalExceptionValidationExceptionpublic 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 MarshalException, ValidationException
reader - MarshalExceptionValidationExceptionpublic void validate()
throws ValidationException
ValidationExceptionIntalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com