Serialized Form


Package org.apache.torque

Class org.apache.torque.NoRowsException extends TorqueException implements Serializable

Class org.apache.torque.TooManyRowsException extends TorqueException implements Serializable

Class org.apache.torque.TorqueException extends org.apache.commons.lang.exception.NestableException implements Serializable

Class org.apache.torque.TorqueRuntimeException extends java.lang.RuntimeException implements Serializable

Serialized Fields

nested

java.lang.Throwable nested
Holds the reference to the exception or error that caused this exception to be thrown.


Package org.apache.torque.om

Class org.apache.torque.om.BaseObject extends java.lang.Object implements Serializable

Serialized Fields

isNew

boolean isNew
attribute to determine if this object has previously been saved.


primaryKey

ObjectKey primaryKey
The unique id for the object which can be used for persistence.


modified

boolean modified
A flag that indicates an object has been modified since it was last retrieved from the persistence mechanism. This flag is used to determine if this object should be saved to the database. We initialize it to true to force new objects to be saved.

Class org.apache.torque.om.ComboKey extends ObjectKey implements Serializable

Serialized Fields

key

SimpleKey[] key
The array of the keys

Class org.apache.torque.om.DateKey extends SimpleKey implements Serializable

Class org.apache.torque.om.NumberKey extends SimpleKey implements Serializable

Class org.apache.torque.om.ObjectKey extends java.lang.Object implements Serializable

Serialized Fields

key

java.lang.Object key
The underlying key value.

Class org.apache.torque.om.SimpleKey extends ObjectKey implements Serializable

Class org.apache.torque.om.StringKey extends SimpleKey implements Serializable


Package org.apache.torque.map

Class org.apache.torque.map.ColumnMap extends java.lang.Object implements Serializable

Serialized Fields

type

java.lang.Object type
Type of the column.


size

int size
Size of the column.


pk

boolean pk
Is it a primary key?


notNull

boolean notNull
Is null value allowed ?


relatedTableName

java.lang.String relatedTableName
Name of the table that this column is related to.


relatedColumnName

java.lang.String relatedColumnName
Name of the column that this column is related to.


table

TableMap table
The TableMap for this column.


columnName

java.lang.String columnName
The name of the column.

Class org.apache.torque.map.DatabaseMap extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
Name of the database.


tables

java.util.Hashtable tables
Name of the tables in the database.


idTable

TableMap idTable
A special table used to generate primary keys for the other tables.


idBroker

IDBroker idBroker
The IDBroker that goes with the idTable.


idGenerators

java.util.HashMap idGenerators
The IdGenerators, keyed by type of idMethod.

Class org.apache.torque.map.TableMap extends java.lang.Object implements Serializable

Serialized Fields

columns

java.util.Hashtable columns
The columns in the table.


dbMap

DatabaseMap dbMap
The database this table belongs to.


tableName

java.lang.String tableName
The name of the table.


prefix

java.lang.String prefix
The prefix on the table name.


primaryKeyMethod

java.lang.String primaryKeyMethod
The primary key generation method.


pkInfo

java.lang.Object pkInfo
Object to store information that is needed if the for generating primary keys.


Package org.apache.torque.pool

Class org.apache.torque.pool.ConnectionWaitTimeoutException extends java.lang.Exception implements Serializable

Class org.apache.torque.pool.TorqueClassicDataSource extends java.lang.Object implements Serializable

Serialized Fields

dataSourceName

java.lang.String dataSourceName
Deprecated. 
DataSource Name used to find the ConnectionPoolDataSource


description

java.lang.String description
Deprecated. 
Description


loginTimeout

int loginTimeout
Deprecated. 
Login TimeOut in seconds


cpds

javax.sql.ConnectionPoolDataSource cpds
Deprecated. 
Pool Data Source that is used to fetch connections


logWriter

java.io.PrintWriter logWriter
Deprecated. 
Log stream


jndiEnvironment

java.util.Properties jndiEnvironment
Deprecated. 
Environment that may be used to set up a jndi initial context.


defaultMaxConnections

int defaultMaxConnections
Deprecated. 
Maximum Number of Connections cached in this Data Source


perUserMaxConnections

java.util.Properties perUserMaxConnections
Deprecated. 
Maximum Number of Connections for a specified User in this Data Source


maxExpiryTime

int maxExpiryTime
Deprecated. 
Maximum lifetime of a database connection


connectionWaitTimeout

int connectionWaitTimeout
Deprecated. 
time to wait when initiating a connection for the database to respond


logInterval

int logInterval
Deprecated. 
Interval (in seconds) that the monitor thread reports the pool state


defaultAutoCommit

boolean defaultAutoCommit
Deprecated. 
Do connections from this pool are auto-committing?


defaultReadOnly

boolean defaultReadOnly
Deprecated. 
Are connections from this pool read-only?


Package org.apache.torque.util

Class org.apache.torque.util.BasePeer extends java.lang.Object implements Serializable

Class org.apache.torque.util.Criteria extends java.util.Hashtable implements Serializable

Serialized Fields

ignoreCase

boolean ignoreCase

singleRecord

boolean singleRecord

cascade

boolean cascade

selectModifiers

UniqueList selectModifiers

selectColumns

UniqueList selectColumns

orderByColumns

UniqueList orderByColumns

groupByColumns

UniqueList groupByColumns

having

Criteria.Criterion having

asColumns

java.util.Hashtable asColumns

joinL

java.util.ArrayList joinL

joinR

java.util.ArrayList joinR

dbName

java.lang.String dbName
The name of the database.


originalDbName

java.lang.String originalDbName
The name of the database as given in the contructor.


limit

int limit
To limit the number of rows to return. -1 means return all rows.


offset

int offset
To start the results at a row other than the first one.


aliases

java.util.HashMap aliases

useTransaction

boolean useTransaction

Class org.apache.torque.util.Criteria.Criterion extends java.lang.Object implements Serializable

Serialized Fields

value

java.lang.Object value
Value of the CO.


comparison

SqlEnum comparison
Comparison value.


table

java.lang.String table
Table name.


column

java.lang.String column
Column name.


ignoreStringCase

boolean ignoreStringCase
flag to ignore case in comparision


db

DB db
The DB adaptor which might be used to get db specific variations of sql.


clauses

java.util.List clauses
other connected criteria and their conjunctions.


conjunctions

java.util.List conjunctions

Class org.apache.torque.util.LargeSelect extends java.lang.Object implements Serializable

Serialized Fields

pageSize

int pageSize
The number of records that a page consists of.


memoryLimit

int memoryLimit
The maximum number of records to maintain in memory.


blockBegin

int blockBegin
The record number of the first record in memory.


blockEnd

int blockEnd
The record number of the last record in memory.


currentlyFilledTo

int currentlyFilledTo
How much of the memory block is currently occupied with result data.


query

java.lang.String query
The SQL query that this LargeSelect represents.


dbName

java.lang.String dbName
The database name to get from Torque.


qds

com.workingdogs.village.QueryDataSet qds
Used to retrieve query results from Village.


results

java.util.List results
The memory store of records.


thread

java.lang.Thread thread
The thread that executes the query.


killThread

boolean killThread
A flag used to kill the thread when the currently executing query is no longer required.


threadRunning

boolean threadRunning
A flag that indicates whether or not the query thread is running.


queryCompleted

boolean queryCompleted
An indication of whether or not the current query has completed processing.


totalsFinalized

boolean totalsFinalized
An indication of whether or not the totals (records and pages) are at their final values.


position

int position
The cursor position in the result set.


totalPages

int totalPages
The total number of pages known to exist.


totalRecords

int totalRecords
The total number of records known to exist.


currentPageNumber

int currentPageNumber
The number of the page that was last retrieved.


criteria

Criteria criteria
The criteria used for the query.


lastResults

java.util.List lastResults
The last page of results that were returned.


returnBuilderClass

java.lang.Class returnBuilderClass
The class that is possibly used to construct the criteria and used to transform the Village Records into the desired OM or business objects.


populateObjectsMethod

java.lang.reflect.Method populateObjectsMethod
A reference to the method in the return builder class that will convert the Village Records to the desired class.


params

java.util.Hashtable params
A place to store search parameters that relate to this query.

Class org.apache.torque.util.UniqueList extends java.util.ArrayList implements Serializable


Package org.apache.torque.manager

Class org.apache.torque.manager.AbstractBaseManager extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Helper methods for the Serializable interface.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
helper methods for the Serializable interface

Throws:
java.io.IOException
Serialized Fields

mrCache

MethodResultCache mrCache
method results cache


omClass

java.lang.Class omClass
the class that the service will instantiate


className

java.lang.String className

region

java.lang.String region

isNew

boolean isNew

validFields

java.util.Map validFields

listenersMap

java.util.Map listenersMap

Class org.apache.torque.manager.MethodCacheKey extends java.lang.Object implements Serializable

Serialized Fields

n

int n

instanceOrClass

java.io.Serializable instanceOrClass

method

java.lang.String method

arg1

java.io.Serializable arg1

arg2

java.io.Serializable arg2

arg3

java.io.Serializable arg3

moreThanThree

java.io.Serializable[] moreThanThree

groupKey

java.lang.String groupKey


Package org.apache.torque.adapter

Class org.apache.torque.adapter.DB extends java.lang.Object implements Serializable

Class org.apache.torque.adapter.DBAxion extends DB implements Serializable

Class org.apache.torque.adapter.DBCloudscape extends DB implements Serializable

Class org.apache.torque.adapter.DBDB2400 extends DBDB2App implements Serializable

Class org.apache.torque.adapter.DBDB2App extends DB implements Serializable

Class org.apache.torque.adapter.DBDB2Net extends DB implements Serializable

Class org.apache.torque.adapter.DBHypersonicSQL extends DB implements Serializable

Class org.apache.torque.adapter.DBInformix extends DB implements Serializable

Class org.apache.torque.adapter.DBInstantDB extends DB implements Serializable

Class org.apache.torque.adapter.DBInterbase extends DB implements Serializable

Class org.apache.torque.adapter.DBMM extends DB implements Serializable

Class org.apache.torque.adapter.DBMSSQL extends DBSybase implements Serializable

Class org.apache.torque.adapter.DBNone extends DB implements Serializable

Class org.apache.torque.adapter.DBOdbc extends DB implements Serializable

Class org.apache.torque.adapter.DBOracle extends DB implements Serializable

Class org.apache.torque.adapter.DBPostgres extends DB implements Serializable

Class org.apache.torque.adapter.DBSapDB extends DB implements Serializable

Class org.apache.torque.adapter.DBSybase extends DB implements Serializable

Class org.apache.torque.adapter.DBWeblogic extends DB implements Serializable



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