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()
Result
getDistanceInMeters
in interface Result
Result
was not part of a search that was sorted by
distance.public void setDistanceInMeters(Double inDistance)
distance
- the new distance in meterspublic Double getRelevanceScore()
Result
getRelevanceScore
in interface Result
public void setRelevanceScore(Double inRelevance)
relevance
- the new relevance scorepublic String toString()
ResultImpl
.public Metacard getMetacard()
Result
Metacard
wrapped by this Result
.getMetacard
in interface Result
Metacard
wrapped by this Result
This work is licensed under a Creative Commons Attribution 4.0 International License.