public class SearchResult
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
getResultObject(java.lang.Class<T> objectType)
Casts the result object to the given type. 
 | 
SearchResultType | 
getResultType()
The type of the result 
 | 
public SearchResultType getResultType()
SearchResultTypepublic <T> T getResultObject(java.lang.Class<T> objectType)
objectType - The type used to cast the result object