com.objectwave.persist.file
Class FileQuery

java.lang.Object
  |
  +--com.objectwave.persist.broker.ObjectQuerySupport
        |
        +--com.objectwave.persist.file.FileQuery
All Implemented Interfaces:
java.lang.Cloneable

public class FileQuery
extends ObjectQuerySupport

Description: Process SQLQueries to find data in our dbf files.

Version:
$Id: FileQuery.java,v 2.0 2001/06/11 16:00:04 dave_hoag Exp $
Author:
David Hoag

Nested Class Summary
 class FileQuery.MyIterator
           
 
Nested classes inherited from class com.objectwave.persist.broker.ObjectQuerySupport
ObjectQuerySupport.Test
 
Field Summary
 
Fields inherited from class com.objectwave.persist.broker.ObjectQuerySupport
defaultFormatter
 
Constructor Summary
protected FileQuery()
          Used for creating test instances.
  FileQuery(SQLQuery aQuery, DbFile file, ObjectBuilder build)
           
 
Method Summary
 java.lang.Object clone()
          Create an almost copy.
protected  java.util.Iterator getListOfObjects(Persistence expectedType)
          Gets the ListOfObjects attribute of the FileQuery object
 void initialize()
          initialize the member variables with data from the SQLQuery.
 
Methods inherited from class com.objectwave.persist.broker.ObjectQuerySupport
checkAttributeValues, checkConstrainedColumns, checkForeignValues, checkInstanceValues, find, getAttributeData, getCollectionAdapter, getFieldForName, getReferenceAdapter, initDataElements, initializeSubject, isConsideredEqual, isMatch, isMatch, isPersistentReferenceValid, isPrimaryKeyMatch, satisfyingConstraint, setSqlQuery, sortOnField, sortResult
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileQuery

public FileQuery(SQLQuery aQuery,
                 DbFile file,
                 ObjectBuilder build)
Parameters:
aQuery -
file -
build -

FileQuery

protected FileQuery()
Used for creating test instances.

Method Detail

clone

public java.lang.Object clone()
Description copied from class: ObjectQuerySupport
Create an almost copy. The transient data is not copied.

Overrides:
clone in class ObjectQuerySupport
Returns:

initialize

public void initialize()
initialize the member variables with data from the SQLQuery.

Overrides:
initialize in class ObjectQuerySupport

getListOfObjects

protected java.util.Iterator getListOfObjects(Persistence expectedType)
Gets the ListOfObjects attribute of the FileQuery object

Specified by:
getListOfObjects in class ObjectQuerySupport
Parameters:
expectedType -
Returns:
The ListOfObjects value