public class Trait extends GenericModel
| Constructor and Description | 
|---|
| Trait() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getCategory()Gets the category of the characteristic. | 
| List<Trait> | getChildren()Gets the more detailed results for the facets of each dimension as inferred from the input text. | 
| String | getName()Gets the user-visible name of the characteristic. | 
| Double | getPercentile()Gets the normalized percentile score for the characteristic. | 
| Double | getRawScore()Gets the raw score for the characteristic. | 
| 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 | setChildren(List<Trait> children)Sets the more detailed results for the facets of each dimension as inferred from the input text. | 
| void | setName(String name)Sets the user-visible name of the characteristic. | 
| void | setPercentile(Double percentile)Sets the normalized percentile score for the characteristic. | 
| void | setRawScore(Double rawScore)Sets the raw score for the characteristic. | 
| void | setTraitId(String traitId)Sets the unique identifier of the characteristic to which the results pertain. | 
equals, hashCode, toStringpublic Double getRawScore()
public void setRawScore(Double rawScore)
rawScore - the new raw scorepublic 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 getPercentile()
public void setPercentile(Double percentile)
percentile - the new percentilepublic List<Trait> getChildren()
Copyright © 2015–2016 IBM Watson. All rights reserved.