openfuture.bugbase.xobjects
Class BugBaseQueryResult

java.lang.Object
  |
  +--openfuture.bugbase.xobjects.BugBaseQueryResult
All Implemented Interfaces:
java.io.Serializable

public class BugBaseQueryResult
extends java.lang.Object
implements java.io.Serializable

query result of the servlet. Created: Thu Jun 08 22:58:35 2000

Version:
$Revision: 1.3 $
Author:
Wolfgang Reissenberger
See Also:
Serialized Form

Field Summary
static int QR_FAILED
           
static int QR_OK
           
 
Constructor Summary
BugBaseQueryResult(int queryType, BugBaseQuery query, java.io.Serializable result)
          Create a new query result based on a certain query.
BugBaseQueryResult(int queryType, java.lang.Integer sessionID, java.io.Serializable result)
          Create a new query result belonging to a certain session.
BugBaseQueryResult(int queryType, java.io.Serializable result)
          Create a new query result with empty session ID.
 
Method Summary
 int getQueryType()
          Get the value of queryType.
 java.io.Serializable getResult()
          Get the value of result.
 java.lang.Integer getSessionID()
          Get the value of sessionID.
 void setQueryType(int v)
          Set the value of queryType.
 void setResult(java.io.Serializable v)
          Set the value of result.
 void setSessionID(java.lang.Integer v)
          Set the value of sessionID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QR_OK

public static final int QR_OK

QR_FAILED

public static final int QR_FAILED
Constructor Detail

BugBaseQueryResult

public BugBaseQueryResult(int queryType,
                          java.io.Serializable result)
Create a new query result with empty session ID.
Parameters:
queryType - type of query (please use static QR_... attributes)
sessionID - id of the session
result - container for the query parameters

BugBaseQueryResult

public BugBaseQueryResult(int queryType,
                          java.lang.Integer sessionID,
                          java.io.Serializable result)
Create a new query result belonging to a certain session.
Parameters:
queryType - type of query (please use static QR_... attributes)
sessionID - id of the session
result - container for the query parameters

BugBaseQueryResult

public BugBaseQueryResult(int queryType,
                          BugBaseQuery query,
                          java.io.Serializable result)
Create a new query result based on a certain query.
Parameters:
queryType - type of query (please use static QR_... attributes)
sessionID - id of the session
result - container for the query parameters
Method Detail

getResult

public java.io.Serializable getResult()
Get the value of result.
Returns:
Value of result.

setResult

public void setResult(java.io.Serializable v)
Set the value of result.
Parameters:
v - Value to assign to result.

getQueryType

public int getQueryType()
Get the value of queryType.
Returns:
Value of queryType.

setQueryType

public void setQueryType(int v)
Set the value of queryType.
Parameters:
v - Value to assign to queryType.

getSessionID

public java.lang.Integer getSessionID()
Get the value of sessionID.
Returns:
Value of sessionID.

setSessionID

public void setSessionID(java.lang.Integer v)
Set the value of sessionID.
Parameters:
v - Value to assign to sessionID.


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.