public class Sentiment extends GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Sentiment.SentimentType
Sentiment type enumeration.
|
Constructor and Description |
---|
Sentiment() |
Modifier and Type | Method and Description |
---|---|
String |
getMixed()
Gets the mixed.
|
Double |
getScore()
Gets the score.
|
Sentiment.SentimentType |
getType()
Gets the type.
|
void |
setMixed(String mixed)
Sets the mixed.
|
void |
setScore(Double score)
Sets the score.
|
void |
setType(Sentiment.SentimentType type)
Sets the type.
|
equals, hashCode, toString
public String getMixed()
public Double getScore()
public Sentiment.SentimentType getType()
public void setMixed(String mixed)
mixed
- the mixed to setpublic void setScore(Double score)
score
- the new scorepublic void setType(Sentiment.SentimentType type)
type
- The typeCopyright © 2015–2016 IBM Watson. All rights reserved.