com.objectwave.persist.bean
Interface JGrinderQuery

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface JGrinderQuery
extends javax.ejb.EJBObject

Version:
$Id: JGrinderQuery.java,v 2.0 2001/06/11 16:00:03 dave_hoag Exp $
Author:
dhoag

Method Summary
 int count(SQLQuery q)
           
 java.lang.Object find(SQLQuery q)
           
 java.util.Vector findAttributes(SQLQuery q, java.lang.String[] at)
           
 Persistence findUnique(SQLQuery q)
           
 ExampleEmployee getEmployee()
          Gets the Employee attribute of the JGrinderQuery object
 SQLQuery testIt()
          A unit test for JUnit
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getEmployee

public ExampleEmployee getEmployee()
                            throws java.rmi.RemoteException
Gets the Employee attribute of the JGrinderQuery object

Returns:
The Employee value
Throws:
java.rmi.RemoteException

find

public java.lang.Object find(SQLQuery q)
                      throws QueryException,
                             java.rmi.RemoteException
Parameters:
q -
Returns:
Throws:
QueryException
java.rmi.RemoteException

findAttributes

public java.util.Vector findAttributes(SQLQuery q,
                                       java.lang.String[] at)
                                throws QueryException,
                                       java.rmi.RemoteException
Parameters:
q -
at -
Returns:
Throws:
QueryException
java.rmi.RemoteException

findUnique

public Persistence findUnique(SQLQuery q)
                       throws QueryException,
                              java.rmi.RemoteException
Parameters:
q -
Returns:
Throws:
QueryException
java.rmi.RemoteException

testIt

public SQLQuery testIt()
                throws java.rmi.RemoteException
A unit test for JUnit

Returns:
Throws:
java.rmi.RemoteException

count

public int count(SQLQuery q)
          throws QueryException,
                 java.rmi.RemoteException
Parameters:
q -
Returns:
Throws:
QueryException
java.rmi.RemoteException