public class Trait extends GenericModel
Constructor and Description |
---|
Trait() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory()
Gets the personality model category.
|
java.util.List<Trait> |
getChildren()
Gets the characteristic children.
|
java.lang.String |
getId()
Gets id of the characteristic, globally unique.
|
java.lang.String |
getName()
Gets the user-displayable name of the characteristic.
|
java.lang.Double |
getPercentage()
Gets the normalized value of the characteristic, from 0-1.
|
java.lang.Double |
getRawSamplingError()
Gets the raw sampling error.
|
java.lang.Double |
getRawScore()
Gets the raw score.
|
java.lang.Double |
getSamplingError()
Indicates the sampling error of the percentage, based on the number of words in the input.
|
void |
setCategory(java.lang.String category)
Sets personality model category.
|
void |
setChildren(java.util.List<Trait> children)
Sets the characteristic children.
|
void |
setId(java.lang.String id)
Sets the id of the characteristic, globally unique.
|
void |
setName(java.lang.String name)
Sets the user-displayable name of the characteristic.
|
void |
setPercentage(java.lang.Double percentage)
Sets the normalized value of the characteristic, from 0-1.
|
void |
setRawSamplingError(java.lang.Double rawSamplingError)
Sets the raw sampling error.
|
void |
setRawScore(java.lang.Double rawScore)
Sets the raw score.
|
void |
setSamplingError(java.lang.Double samplingError)
Sets the sampling error of the percentage based on the number of words in the input.
|
equals, hashCode, toString
public java.lang.String getCategory()
public java.util.List<Trait> getChildren()
public java.lang.String getId()
public java.lang.String getName()
public java.lang.Double getPercentage()
public java.lang.Double getRawSamplingError()
public java.lang.Double getRawScore()
public java.lang.Double getSamplingError()
public void setCategory(java.lang.String category)
category
- the new categorypublic void setChildren(java.util.List<Trait> children)
children
- the new childrenpublic void setId(java.lang.String id)
id
- the characteristic identifierpublic void setName(java.lang.String name)
name
- the new namepublic void setPercentage(java.lang.Double percentage)
percentage
- the new percentage value from 0-1public void setRawSamplingError(java.lang.Double rawSamplingError)
rawSamplingError
- the new raw sampling errorpublic void setRawScore(java.lang.Double rawScore)
rawScore
- the new raw scorepublic void setSamplingError(java.lang.Double samplingError)
samplingError
- error the new sampling error