|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.cjdbc.sql.CreateRequestTest.ParsingResult
Stores the expected result of the call to
CreateRequest.parse(DatabaseSchema, int, boolean)
method.
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 create if the request is valid. |
Constructor Summary | |
protected |
CreateRequestTest.ParsingResult(java.lang.String request,
java.lang.String errorMessage)
Creates a new ParsingResult instance for invalid request. |
protected |
CreateRequestTest.ParsingResult(java.lang.String request,
java.lang.String tableName,
java.lang.String columnList)
Creates a new ParsingResult instance for valid request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String request
protected boolean isValid
true
if the request is valid.
protected DatabaseTable table
protected java.lang.String errorMessage
Constructor Detail |
protected CreateRequestTest.ParsingResult(java.lang.String request, java.lang.String tableName, java.lang.String columnList)
ParsingResult
instance for valid request.
request
- valid request to test.tableName
- database name to test.columnList
- column list (eg: col1.unique col2 col3). '.unique'
means that the column is unique.protected CreateRequestTest.ParsingResult(java.lang.String request, java.lang.String errorMessage)
ParsingResult
instance for invalid request.
request
- invalid request to test.errorMessage
- error message.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |