org.apache.turbine.torque.engine.database.model
Class AppData

java.lang.Object
  |
  +--org.apache.turbine.torque.engine.database.model.AppData

Deprecated. use turbine-torque

public class AppData
extends java.lang.Object

A class for holding application data structures.

Version:
$Id: AppData.java,v 1.4 2002/02/26 22:15:43 fedor Exp $
Author:
John McNally

Field Summary
private  java.util.List dbList
          Deprecated.  
private  java.lang.String name
          Deprecated.  
 
Constructor Summary
AppData()
          Deprecated. Default Constructor
 
Method Summary
 Database addDatabase(org.xml.sax.AttributeList attrib)
          Deprecated. An utility method to add a new database from an xml attribute.
 void addDatabase(Database db)
          Deprecated. Add a database to the vector and sets the AppData property to this AppData
 Database getDatabase()
          Deprecated.  
 Database getDatabase(java.lang.String name)
          Deprecated. Return the database with the specified name.
 Database[] getDatabases()
          Deprecated. Return an array of all databases
 boolean getMultipleDatabases()
          Deprecated.  
 java.lang.String getName()
          Deprecated.  
 void setName(java.lang.String name)
          Deprecated.  
 java.lang.String toString()
          Deprecated. Creats a string representation of this AppData.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

name

private java.lang.String name
Deprecated. 

dbList

private java.util.List dbList
Deprecated. 
Constructor Detail

AppData

public AppData()
Deprecated. 
Default Constructor
Method Detail

getDatabases

public Database[] getDatabases()
Deprecated. 
Return an array of all databases

getDatabase

public Database getDatabase()
Deprecated. 

setName

public void setName(java.lang.String name)
Deprecated. 

getName

public java.lang.String getName()
Deprecated. 

getMultipleDatabases

public boolean getMultipleDatabases()
Deprecated. 

getDatabase

public Database getDatabase(java.lang.String name)
Deprecated. 
Return the database with the specified name.
Returns:
A Database object. If it does not exist it returns null

addDatabase

public Database addDatabase(org.xml.sax.AttributeList attrib)
Deprecated. 
An utility method to add a new database from an xml attribute.

addDatabase

public void addDatabase(Database db)
Deprecated. 
Add a database to the vector and sets the AppData property to this AppData

toString

public java.lang.String toString()
Deprecated. 
Creats a string representation of this AppData. The representation is given in xml format.
Overrides:
toString in class java.lang.Object


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.