public class EntitiesResult extends GenericModel
Constructor and Description |
---|
EntitiesResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCount()
Gets the count.
|
DisambiguationResult |
getDisambiguation()
Gets the disambiguation.
|
EmotionScores |
getEmotion()
Gets the emotion.
|
java.util.List<EntityMention> |
getMentions()
Gets the mentions.
|
java.lang.Double |
getRelevance()
Gets the relevance.
|
FeatureSentimentResults |
getSentiment()
Gets the sentiment.
|
java.lang.String |
getText()
Gets the text.
|
java.lang.String |
getType()
Gets the type.
|
void |
setCount(long count)
Sets the count.
|
void |
setDisambiguation(DisambiguationResult disambiguation)
Sets the disambiguation.
|
void |
setEmotion(EmotionScores emotion)
Sets the emotion.
|
void |
setMentions(java.util.List<EntityMention> mentions)
Sets the mentions.
|
void |
setRelevance(java.lang.Double relevance)
Sets the relevance.
|
void |
setSentiment(FeatureSentimentResults sentiment)
Sets the sentiment.
|
void |
setText(java.lang.String text)
Sets the text.
|
void |
setType(java.lang.String type)
Sets the type.
|
equals, hashCode, toString
public java.lang.String getType()
public java.lang.String getText()
public java.lang.Double getRelevance()
public java.util.List<EntityMention> getMentions()
public java.lang.Long getCount()
public EmotionScores getEmotion()
public FeatureSentimentResults getSentiment()
public DisambiguationResult getDisambiguation()
public void setType(java.lang.String type)
type
- the new typepublic void setText(java.lang.String text)
text
- the new textpublic void setRelevance(java.lang.Double relevance)
relevance
- the new relevancepublic void setMentions(java.util.List<EntityMention> mentions)
mentions
- the new mentionspublic void setCount(long count)
count
- the new countpublic void setEmotion(EmotionScores emotion)
emotion
- the new emotionpublic void setSentiment(FeatureSentimentResults sentiment)
sentiment
- the new sentimentpublic void setDisambiguation(DisambiguationResult disambiguation)
disambiguation
- the new disambiguation