org.exolab.castor.jdo
Interface DataObjects
- Referenceable, Serializable
- JDO, JDOManager
public interface DataObjects
extends Referenceable, Serializable
A factory for
Database
connections. This object is used to
define the database to use and to open up database connections
using the
getDatabase()
method.
This object can be serialized or bound to a JNDI namespace.
$Revision: 7124 $ $Date: 2004-10-05 16:15:56 -0600 (Tue, 05 Oct 2004) $
getDatabase
public Database getDatabase()
throws PersistenceException
Opens and returns a connection to the database.
- An open connection to the database
getDatabaseName
public String getDatabaseName()
Returns the name of this database.
- The name of this database
getDescription
public String getDescription()
Returns the description of this database.
- The description of this database
setDescription
public void setDescription(String description)
Sets the description of this database.
description
- The description of this database
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com