public class DocumentSentiment extends AlchemyLanguageGenericModel
AlchemyLanguage service.| Constructor and Description |
|---|
DocumentSentiment() |
| Modifier and Type | Method and Description |
|---|---|
Sentiment |
getSentiment()
Gets the sentiment.
|
java.lang.String |
getText()
Gets the text.
|
void |
setSentiment(Sentiment sentiment)
Sets the sentiment.
|
void |
setText(java.lang.String text)
Sets the text.
|
getLanguage, getUrl, setLanguage, setUrlgetTotalTransactions, setTotalTransactionsequals, hashCode, toStringpublic Sentiment getSentiment()
public java.lang.String getText()
public void setSentiment(Sentiment sentiment)
sentiment - the sentiment to setpublic void setText(java.lang.String text)
text - the text to set