public class ToneCategory extends GenericModel
Constructor and Description |
---|
ToneCategory() |
Modifier and Type | Method and Description |
---|---|
void |
addTone(ToneScore score)
Adds the tone.
|
java.lang.String |
getId()
Gets the id.
|
java.lang.String |
getName()
Gets the name.
|
java.util.List<ToneScore> |
getTones()
Gets the tones.
|
void |
setId(java.lang.String id)
Sets the id.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setTones(java.util.List<ToneScore> tones)
Sets the tones.
|
equals, hashCode, toString
public void addTone(ToneScore score)
score
- the scorepublic java.lang.String getId()
public java.lang.String getName()
public java.util.List<ToneScore> getTones()
public void setId(java.lang.String id)
id
- the new idpublic void setName(java.lang.String name)
name
- the new namepublic void setTones(java.util.List<ToneScore> tones)
tones
- the new tones