public class SuggestEntryImpl extends java.lang.Object implements SuggestEntry
Constructor and Description |
---|
SuggestEntryImpl() |
Modifier and Type | Method and Description |
---|---|
long |
getDistance()
Gets the edit distance between the entry string and the query.
|
java.lang.String |
getEntry()
Gets the suggest dictionary string which has matched the query.
|
long |
getMatchLength()
Gets the length of the part of the entry matching the query.
|
long |
getMatchOffset()
Gets the starting position of the part of the entry matching the query.
|
long |
getScore()
Gets the score.
|
java.lang.String |
getSource()
Gets the name of the suggest in which this entry was found.
|
java.util.List<SuggestEntryExtraInformation> |
getSuggestEntryExtraInformation()
Gets any extra information associated to this entry from a XML suggest for instance.
|
void |
setDistance(long distance) |
void |
setEntry(java.lang.String entry) |
void |
setMatchLength(long matchLength) |
void |
setMatchOffset(long matchOffset) |
void |
setScore(long score) |
void |
setSource(java.lang.String source) |
void |
setSuggestEntryExtraInformation(java.util.List<SuggestEntryExtraInformation> suggestEntryExtraInformation) |
public java.lang.String getEntry()
SuggestEntry
getEntry
in interface SuggestEntry
public void setEntry(java.lang.String entry)
public long getDistance()
SuggestEntry
getDistance
in interface SuggestEntry
public void setDistance(long distance)
public long getScore()
SuggestEntry
getScore
in interface SuggestEntry
public void setScore(long score)
public java.lang.String getSource()
SuggestEntry
getSource
in interface SuggestEntry
public void setSource(java.lang.String source)
public long getMatchOffset()
SuggestEntry
getMatchOffset
in interface SuggestEntry
public void setMatchOffset(long matchOffset)
public long getMatchLength()
SuggestEntry
getMatchLength
in interface SuggestEntry
public void setMatchLength(long matchLength)
public java.util.List<SuggestEntryExtraInformation> getSuggestEntryExtraInformation()
SuggestEntry
getSuggestEntryExtraInformation
in interface SuggestEntry
public void setSuggestEntryExtraInformation(java.util.List<SuggestEntryExtraInformation> suggestEntryExtraInformation)
Copyright © 2021 Dassault Systèmes, All Rights Reserved.