Package org.intermine.api.search
Class SearchResult
- java.lang.Object
-
- org.intermine.api.search.SearchResult
-
public final class SearchResult extends java.lang.Object
A single item in a set or returned results formed by searching the web-searchable indices with Lucene.- Author:
- ajk59
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>
asList()
A list of between two and three items containing the information in this result.WebSearchable
getItem()
Get the web searchable item that was found.java.lang.String
toString()
-
-
-
Method Detail
-
getItem
public WebSearchable getItem()
Get the web searchable item that was found.- Returns:
- The item included in the search results.
-
asList
public java.util.List<java.lang.Object> asList()
A list of between two and three items containing the information in this result.- Returns:
- A list.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-