public class ToneScore extends GenericModel
Constructor and Description |
---|
ToneScore()
Instantiates a new tone score.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the id.
|
String |
getName()
Gets the name.
|
Double |
getScore()
Gets the score.
|
void |
setId(String id)
Sets the id.
|
void |
setName(String name)
Sets the name.
|
void |
setScore(Double score)
Sets the score.
|
equals, hashCode, toString
public String getId()
public String getName()
public Double getScore()
public void setId(String id)
id
- the new idpublic void setName(String name)
name
- the new namepublic void setScore(Double score)
score
- the new scoreCopyright © 2015–2016 IBM Watson. All rights reserved.