public class SentimentResult extends GenericModel
| Constructor and Description |
|---|
SentimentResult() |
| Modifier and Type | Method and Description |
|---|---|
DocumentSentimentResults |
getDocument()
Gets the document.
|
java.util.List<TargetedSentimentResults> |
getTargets()
Gets the targets.
|
void |
setDocument(DocumentSentimentResults document)
Sets the document.
|
void |
setTargets(java.util.List<TargetedSentimentResults> targets)
Sets the targets.
|
equals, hashCode, toStringpublic DocumentSentimentResults getDocument()
public java.util.List<TargetedSentimentResults> getTargets()
public void setDocument(DocumentSentimentResults document)
document - the new documentpublic void setTargets(java.util.List<TargetedSentimentResults> targets)
targets - the new targets