org.castor.jdo.conf

Class JdoConf

Implemented Interfaces:
java.io.Serializable

public class JdoConf
extends java.lang.Object
implements java.io.Serializable

Class JdoConf.
Version:
$Revision: 5979 $ $Date$
See Also:
Serialized Form

Constructor Summary

JdoConf()

Method Summary

void
addDatabase(int index, Database vDatabase)
Method addDatabase
void
addDatabase(Database vDatabase)
Method addDatabase
void
clearDatabase()
Method clearDatabase
java.util.Enumeration
enumerateDatabase()
Method enumerateDatabase
Database[]
getDatabase()
Method getDatabase
Database
getDatabase(int index)
Method getDatabase
int
getDatabaseCount()
Method getDatabaseCount
java.lang.String
getName()
Returns the value of field 'name'.
TransactionDemarcation
getTransactionDemarcation()
Returns the value of field 'transactionDemarcation'.
boolean
isValid()
Method isValid
void
marshal(java.io.Writer out)
Method marshal
void
marshal(org.xml.sax.ContentHandler handler)
Method marshal
boolean
removeDatabase(Database vDatabase)
Method removeDatabase
void
setDatabase(int index, Database vDatabase)
Method setDatabase
void
setDatabase(Database[] databaseArray)
Method setDatabase
void
setName(java.lang.String name)
Sets the value of field 'name'.
void
setTransactionDemarcation(TransactionDemarcation transactionDemarcation)
Sets the value of field 'transactionDemarcation'.
static JdoConf
unmarshal(java.io.Reader reader)
Method unmarshal
void
validate()
Method validate

Constructor Details

JdoConf

public JdoConf()

Method Details

addDatabase

public void addDatabase(int index,
                        Database vDatabase)
            throws java.lang.IndexOutOfBoundsException
Method addDatabase
Parameters:
index -
vDatabase -

addDatabase

public void addDatabase(Database vDatabase)
            throws java.lang.IndexOutOfBoundsException
Method addDatabase
Parameters:
vDatabase -

clearDatabase

public void clearDatabase()
Method clearDatabase

enumerateDatabase

public java.util.Enumeration enumerateDatabase()
Method enumerateDatabase
Returns:
Enumeration

getDatabase

public Database[] getDatabase()
Method getDatabase
Returns:
Database

getDatabase

public Database getDatabase(int index)
            throws java.lang.IndexOutOfBoundsException
Method getDatabase
Parameters:
index -
Returns:
Database

getDatabaseCount

public int getDatabaseCount()
Method getDatabaseCount
Returns:
int

getName

public java.lang.String getName()
Returns the value of field 'name'.
Returns:
String

getTransactionDemarcation

public TransactionDemarcation getTransactionDemarcation()
Returns the value of field 'transactionDemarcation'.
Returns:
TransactionDemarcation

isValid

public boolean isValid()
Method isValid
Returns:
boolean

marshal

public void marshal(java.io.Writer out)
            throws MarshalException,
                   ValidationException
Method marshal
Parameters:
out -

marshal

public void marshal(org.xml.sax.ContentHandler handler)
            throws java.io.IOException,
                   MarshalException,
                   ValidationException
Method marshal
Parameters:
handler -

removeDatabase

public boolean removeDatabase(Database vDatabase)
Method removeDatabase
Parameters:
vDatabase -
Returns:
boolean

setDatabase

public void setDatabase(int index,
                        Database vDatabase)
            throws java.lang.IndexOutOfBoundsException
Method setDatabase
Parameters:
index -
vDatabase -

setDatabase

public void setDatabase(Database[] databaseArray)
Method setDatabase
Parameters:
databaseArray -

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.
Parameters:
name - the value of field 'name'.

setTransactionDemarcation

public void setTransactionDemarcation(TransactionDemarcation transactionDemarcation)
Sets the value of field 'transactionDemarcation'.
Parameters:
transactionDemarcation - the value of field 'transactionDemarcation'.

unmarshal

public static JdoConf unmarshal(java.io.Reader reader)
            throws MarshalException,
                   ValidationException
Method unmarshal
Parameters:
reader -
Returns:
JdoConf

validate

public void validate()
            throws ValidationException
Method validate

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com