org.exolab.castor.jdo.conf
Class JdoConf

java.lang.Object
  extended by org.exolab.castor.jdo.conf.JdoConf
All Implemented Interfaces:
java.io.Serializable

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

Class JdoConf.

Version:
$Revision: 1.3 $ $Date: 2005/03/05 13:41:50 $
See Also:
Serialized Form

Constructor Summary
JdoConf()
           
 
Method Summary
 void addDatabase(Database vDatabase)
          Method addDatabase
 void addDatabase(int index, 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
 TransactionDemarcation getTransactionDemarcation()
          Returns the value of field 'transactionDemarcation'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeDatabase(Database vDatabase)
          Method removeDatabase
 void setDatabase(Database[] databaseArray)
          Method setDatabase
 void setDatabase(int index, Database vDatabase)
          Method setDatabase
 void setTransactionDemarcation(TransactionDemarcation transactionDemarcation)
          Sets the value of field 'transactionDemarcation'.
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

JdoConf

public JdoConf()
Method Detail

addDatabase

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

Parameters:
vDatabase -
Throws:
java.lang.IndexOutOfBoundsException

addDatabase

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

Parameters:
index -
vDatabase -
Throws:
java.lang.IndexOutOfBoundsException

clearDatabase

public void clearDatabase()
Method clearDatabase


enumerateDatabase

public java.util.Enumeration enumerateDatabase()
Method enumerateDatabase


getDatabase

public Database getDatabase(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getDatabase

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getDatabase

public Database[] getDatabase()
Method getDatabase


getDatabaseCount

public int getDatabaseCount()
Method getDatabaseCount


getTransactionDemarcation

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

Returns:
the value of field 'transactionDemarcation'.

isValid

public boolean isValid()
Method isValid


marshal

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

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

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

Parameters:
handler -
Throws:
java.io.IOException
MarshalException
ValidationException

removeDatabase

public boolean removeDatabase(Database vDatabase)
Method removeDatabase

Parameters:
vDatabase -

setDatabase

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

Parameters:
index -
vDatabase -
Throws:
java.lang.IndexOutOfBoundsException

setDatabase

public void setDatabase(Database[] databaseArray)
Method setDatabase

Parameters:
databaseArray -

setTransactionDemarcation

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

Parameters:
transactionDemarcation - the value of field 'transactionDemarcation'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws MarshalException,
                                         ValidationException
Method unmarshal

Parameters:
reader -
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException


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