com.townleyenterprises.persistence
Class QueryEvent

java.lang.Object
  extended bycom.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.
 
Method Summary
 java.lang.String getQuery()
           
 java.sql.ResultSet getResultSet()
           
 int getRow()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 string
rs - the ResultSet
row - the row
Method Detail

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.