public class Ranking extends GenericModel
Ranking
used by the RetrieveAndRank
class.Constructor and Description |
---|
Ranking() |
Modifier and Type | Method and Description |
---|---|
java.util.List<RankedAnswer> |
getAnswers()
Gets the answers.
|
java.lang.String |
getId()
Gets the id.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
getTopAnswer()
Gets the top answer.
|
java.lang.String |
getUrl()
Gets the url.
|
void |
setAnswers(java.util.List<RankedAnswer> answers)
Sets the answers.
|
void |
setId(java.lang.String id)
Sets the id.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setTopAnswer(java.lang.String topAnswer)
Sets the top answer.
|
void |
setUrl(java.lang.String url)
Sets the url.
|
equals, hashCode, toString
public void setId(java.lang.String id)
id
- the new idpublic void setUrl(java.lang.String url)
url
- the new urlpublic void setName(java.lang.String name)
name
- the new namepublic void setTopAnswer(java.lang.String topAnswer)
topAnswer
- the new top answerpublic void setAnswers(java.util.List<RankedAnswer> answers)
answers
- the new answerspublic java.lang.String getId()
public java.lang.String getUrl()
public java.lang.String getName()
public java.lang.String getTopAnswer()
public java.util.List<RankedAnswer> getAnswers()