public class DocumentSentiment extends AlchemyLanguageGenericModel
AlchemyLanguage service.| Constructor and Description |
|---|
DocumentSentiment() |
| Modifier and Type | Method and Description |
|---|---|
Sentiment |
getSentiment()
Gets the sentiment.
|
String |
getText()
Gets the text.
|
void |
setSentiment(Sentiment sentiment)
Sets the sentiment.
|
void |
setText(String text)
Sets the text.
|
getLanguage, getUrl, setLanguage, setUrlgetTotalTransactions, setTotalTransactionsequals, hashCode, toStringpublic Sentiment getSentiment()
public String getText()
public void setSentiment(Sentiment sentiment)
sentiment - the sentiment to setpublic void setText(String text)
text - the text to setCopyright © 2015–2016. All rights reserved.