org.castor.jdo.conf

Class JdoConf

public class JdoConf extends Object implements Serializable

Class JdoConf.

Version: $Revision: 5979 $ $Date$

Constructor Summary
JdoConf()
Method Summary
voidaddDatabase(Database vDatabase)
Method addDatabase
voidaddDatabase(int index, Database vDatabase)
Method addDatabase
voidclearDatabase()
Method clearDatabase
EnumerationenumerateDatabase()
Method enumerateDatabase
DatabasegetDatabase(int index)
Method getDatabase
Database[]getDatabase()
Method getDatabase
intgetDatabaseCount()
Method getDatabaseCount
StringgetName()
Returns the value of field 'name'.
TransactionDemarcationgetTransactionDemarcation()
Returns the value of field 'transactionDemarcation'.
booleanisValid()
Method isValid
voidmarshal(Writer out)
Method marshal
voidmarshal(ContentHandler handler)
Method marshal
booleanremoveDatabase(Database vDatabase)
Method removeDatabase
voidsetDatabase(int index, Database vDatabase)
Method setDatabase
voidsetDatabase(Database[] databaseArray)
Method setDatabase
voidsetName(String name)
Sets the value of field 'name'.
voidsetTransactionDemarcation(TransactionDemarcation transactionDemarcation)
Sets the value of field 'transactionDemarcation'.
static JdoConfunmarshal(Reader reader)
Method unmarshal
voidvalidate()
Method validate

Constructor Detail

JdoConf

public JdoConf()

Method Detail

addDatabase

public void addDatabase(Database vDatabase)
Method addDatabase

Parameters: vDatabase

addDatabase

public void addDatabase(int index, Database vDatabase)
Method addDatabase

Parameters: index vDatabase

clearDatabase

public void clearDatabase()
Method clearDatabase

enumerateDatabase

public Enumeration enumerateDatabase()
Method enumerateDatabase

Returns: Enumeration

getDatabase

public Database getDatabase(int index)
Method getDatabase

Parameters: index

Returns: Database

getDatabase

public Database[] getDatabase()
Method getDatabase

Returns: Database

getDatabaseCount

public int getDatabaseCount()
Method getDatabaseCount

Returns: int

getName

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

Returns: String the value of field 'name'.

getTransactionDemarcation

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

Returns: TransactionDemarcation the value of field 'transactionDemarcation'.

isValid

public boolean isValid()
Method isValid

Returns: boolean

marshal

public void marshal(Writer out)
Method marshal

Parameters: out

marshal

public void marshal(ContentHandler handler)
Method marshal

Parameters: handler

removeDatabase

public boolean removeDatabase(Database vDatabase)
Method removeDatabase

Parameters: vDatabase

Returns: boolean

setDatabase

public void setDatabase(int index, Database vDatabase)
Method setDatabase

Parameters: index vDatabase

setDatabase

public void setDatabase(Database[] databaseArray)
Method setDatabase

Parameters: databaseArray

setName

public void setName(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(Reader reader)
Method unmarshal

Parameters: reader

Returns: JdoConf

validate

public void validate()
Method validate
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com