com.townleyenterprises.persistence
Class QueryEvent
java.lang.Object
com.townleyenterprises.persistence.QueryEvent
- public class QueryEvent
- extends java.lang.Object
This class provides a container for query notification data.
- Version:
- $Id: QueryEvent.java,v 1.3 2004/07/28 10:33:59 atownley Exp $
- Author:
- Andrew S. Townley
Constructor Summary |
QueryEvent(java.lang.String query)
This constructor is inialized with only the query. |
QueryEvent(java.lang.String query,
java.sql.ResultSet rs,
int row)
This constructor fully initializes the class from a query
result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryEvent
public QueryEvent(java.lang.String query)
- This constructor is inialized with only the query.
- Parameters:
query
- the SQL query string executed
QueryEvent
public QueryEvent(java.lang.String query,
java.sql.ResultSet rs,
int row)
- This constructor fully initializes the class from a query
result.
- Parameters:
query
- the SQL query stringrs
- the ResultSetrow
- the row
getQuery
public java.lang.String getQuery()
getResultSet
public java.sql.ResultSet getResultSet()
getRow
public int getRow()
Copyright © 2002-2004, Andrew S. Townley and Townley Enterprises. All Rights Reserved.
This project is hosted on http://te-code.sourceforge.net.