Arch4J 1.1

org.arch4j.persistence.castor
Class QueryWrapper

java.lang.Object
  |
  +--org.arch4j.persistence.castor.QueryWrapper
All Implemented Interfaces:
ObjectQuery

public class QueryWrapper
extends Object
implements ObjectQuery

Author:
alwick

Constructor Summary
QueryWrapper(org.exolab.castor.jdo.OQLQuery aQuery)
          Creates a new instance of QueryWrapper
 
Method Summary
 void bind(boolean aBoolean)
          Bind a primitive boolean type.
 void bind(Collection aBindCollection)
          Bind to a collection of parameters.
 void bind(double aDouble)
          Bind a primitive double type.
 void bind(float aFloat)
          Bind a primitive float type.
 void bind(int anInteger)
          Bind a primitive integer type.
 void bind(Object anObject)
          Bind an element to the first element in the query string.
 org.exolab.castor.jdo.OQLQuery getOQLQuery()
          Return the OQL Query Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryWrapper

public QueryWrapper(org.exolab.castor.jdo.OQLQuery aQuery)
Creates a new instance of QueryWrapper

Method Detail

bind

public void bind(Collection aBindCollection)
Bind to a collection of parameters.

Specified by:
bind in interface ObjectQuery

bind

public void bind(Object anObject)
Bind an element to the first element in the query string.

Specified by:
bind in interface ObjectQuery
Parameters:
anObject - The object to bind.

bind

public void bind(int anInteger)
Bind a primitive integer type.

Specified by:
bind in interface ObjectQuery

bind

public void bind(double aDouble)
Bind a primitive double type.

Specified by:
bind in interface ObjectQuery

bind

public void bind(float aFloat)
Bind a primitive float type.

Specified by:
bind in interface ObjectQuery

bind

public void bind(boolean aBoolean)
Bind a primitive boolean type.

Specified by:
bind in interface ObjectQuery

getOQLQuery

public org.exolab.castor.jdo.OQLQuery getOQLQuery()
Return the OQL Query Object.


Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.