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.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 |
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.Double getRelevance()
public java.lang.Long getCount()
public java.lang.String getText()
public EmotionScores getEmotion()
public FeatureSentimentResults getSentiment()
public DisambiguationResult getDisambiguation()
public void setType(java.lang.String type)
type
- the new typepublic void setRelevance(java.lang.Double relevance)
relevance
- the new relevancepublic void setCount(long count)
count
- the new countpublic void setText(java.lang.String text)
text
- the new textpublic void setEmotion(EmotionScores emotion)
emotion
- the new emotionpublic void setSentiment(FeatureSentimentResults sentiment)
sentiment
- the new sentimentpublic void setDisambiguation(DisambiguationResult disambiguation)
disambiguation
- the new disambiguation