| Constructor and Description |
|---|
ResultImpl()
Default constructor
|
ResultImpl(Metacard metacard)
Instantiates a new metacard result.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getDistanceInMeters()
Gets the distance in meters.
|
Metacard |
getMetacard()
Gets the
Metacard wrapped by this Result. |
Double |
getRelevanceScore()
Gets the relevance score.
|
void |
setDistanceInMeters(Double inDistance)
Sets the distance in meters.
|
void |
setMetacard(Metacard metacard)
Sets the
Metacard. |
void |
setRelevanceScore(Double inRelevance)
Sets the relevance score.
|
String |
toString()
String representation of this
ResultImpl. |
public Double getDistanceInMeters()
ResultgetDistanceInMeters in interface ResultResult was not part of a search that was sorted by
distance.public void setDistanceInMeters(Double inDistance)
distance - the new distance in meterspublic Double getRelevanceScore()
ResultgetRelevanceScore in interface Resultpublic void setRelevanceScore(Double inRelevance)
relevance - the new relevance scorepublic String toString()
ResultImpl.public Metacard getMetacard()
ResultMetacard wrapped by this Result.getMetacard in interface ResultMetacard wrapped by this ResultThis work is licensed under a Creative Commons Attribution 4.0 International License.