com.ibm.mm.beans
Class CMBResultData
java.lang.Object
|
+--com.ibm.mm.beans.CMBResultData
- All Implemented Interfaces:
- java.io.Serializable
- public class CMBResultData
- extends java.lang.Object
- implements java.io.Serializable
This class is a helper class to the CMBSearchResults bean. It packages both the
results data and the query object into a single object.
- Since:
- 6.1
- See Also:
CMBSearchResults
, Serialized Form
Constructor Summary |
CMBResultData(java.lang.Object results,
short qryType,
java.lang.Object queryObj)
Constructs an instance of CMBResultsData. |
Method Summary |
java.lang.Object |
getQueryObject()
Returns an object containing the query. |
short |
getQueryType()
Returns the type of query. |
java.lang.Object |
getResultObject()
Returns an object containing the results. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMBResultData
public CMBResultData(java.lang.Object results,
short qryType,
java.lang.Object queryObj)
- Constructs an instance of CMBResultsData.
- Parameters:
results
- the object containing search resultsqryType
- the type of query performed. This should be one of the CMB_QS_TYPE_ constants in CMBBaseConstant.queryObj
- an object containing the query
getResultObject
public java.lang.Object getResultObject()
- Returns an object containing the results.
getQueryType
public short getQueryType()
- Returns the type of query.
getQueryObject
public java.lang.Object getQueryObject()
- Returns an object containing the query.
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.