public class DocumentEmotion extends AlchemyLanguageGenericModel
AlchemyLanguage.getEmotion(java.util.Map).| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DocumentEmotion.Emotion
The extracted emotion from  
AlchemyLanguage.getEmotion(java.util.Map). | 
| Constructor and Description | 
|---|
DocumentEmotion()  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentEmotion.Emotion | 
getEmotion()
Gets the emotion. 
 | 
String | 
getText()
Gets the text. 
 | 
void | 
setEmotion(DocumentEmotion.Emotion emotion)
Sets the emotion. 
 | 
void | 
setText(String text)
Sets the text. 
 | 
getLanguage, getUrl, setLanguage, setUrlgetTotalTransactions, setTotalTransactionsequals, hashCode, toStringpublic DocumentEmotion.Emotion getEmotion()
public String getText()
public void setEmotion(DocumentEmotion.Emotion emotion)
emotion - the new emotionpublic void setText(String text)
text - the new textCopyright © 2015–2016 IBM Watson. All rights reserved.