public class Behavior extends GenericModel
| Constructor and Description |
|---|
Behavior() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory()
Gets the category of the characteristic.
|
String |
getName()
Gets the user-visible name of the characteristic.
|
Double |
getPercentage()
Gets the percentage of timestamped input data that occurred during that day of the week or hour of the day.
|
String |
getTraitId()
Gets the unique identifier of the characteristic to which the results pertain.
|
void |
setCategory(String category)
Sets the category of the characteristic.
|
void |
setName(String name)
Sets the user-visible name of the characteristic.
|
void |
setPercentage(Double percentage)
Sets the percentage of timestamped input data that occurred during that day of the week or hour of the day.
|
void |
setTraitId(String traitId)
Sets the unique identifier of the characteristic to which the results pertain.
|
equals, hashCode, toStringpublic String getTraitId()
public void setTraitId(String traitId)
traitId - the new trait idpublic String getName()
public void setName(String name)
name - the new namepublic String getCategory()
public void setCategory(String category)
category - the new categorypublic Double getPercentage()
public void setPercentage(Double percentage)
percentage - the new percentageCopyright © 2015–2016 IBM Watson. All rights reserved.