org.objectweb.cjdbc.sql
Class DropRequestTest.ParsingResult

java.lang.Object
  extended byorg.objectweb.cjdbc.sql.DropRequestTest.ParsingResult
Enclosing class:
DropRequestTest

protected class DropRequestTest.ParsingResult
extends java.lang.Object

Stores the expected result of the call to DropRequest.parse(DatabaseSchema, int, boolean) method.

Author:
Mathieu Peltier

Field Summary
protected  java.lang.String errorMessage
          Error message if the request is invalid.
protected  boolean isValid
          true if the request is valid.
protected  java.lang.String request
          Request to test.
protected  DatabaseTable table
          Database table to delete the request is valid.
 
Constructor Summary
protected DropRequestTest.ParsingResult(java.lang.String request, boolean isValid, java.lang.String s)
          Creates a new ParsingResult instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected java.lang.String request
Request to test.


isValid

protected boolean isValid
true if the request is valid.


table

protected DatabaseTable table
Database table to delete the request is valid.


errorMessage

protected java.lang.String errorMessage
Error message if the request is invalid.

Constructor Detail

DropRequestTest.ParsingResult

protected DropRequestTest.ParsingResult(java.lang.String request,
                                        boolean isValid,
                                        java.lang.String s)
Creates a new ParsingResult instance.

Parameters:
request - request to test.
isValid - true if the request is valid.
s - table name if the request is valid or error message if the request is invalid


Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.