public class Profile extends GenericModel
Constructor and Description |
---|
Profile() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the unique identifier for which these characteristics were computed, from the "userid" field of the input
ContentItem . |
String |
getProcessedLanguage()
Gets the processed language.
|
String |
getSource()
Gets the source for which these characteristics were computed, from the "sourceid" field of the input
ContentItem . |
Trait |
getTree()
Gets the personality trait tree.
|
int |
getWordCount()
Gets the number of words found in the input.
|
String |
getWordCountMessage()
Gets A message indicating the number of words found and where that value falls in the range of required/suggested
number of words.
|
void |
setId(String id)
Sets the unique identifier for which these characteristics were computed, from the "userid" field of the input
ContentItem . |
void |
setProcessedLanguage(String processedLanguage)
Sets the processed language.
|
void |
setSource(String source)
Sets the source for which these characteristics were computed, from the "sourceid" field of the input
ContentItem . |
void |
setTree(Trait tree)
Sets the personality trait tree.
|
void |
setWordCount(int wordCount)
Sets the number of words found in the input.
|
void |
setWordCountMessage(String wordCountMessage)
Sets a message indicating the number of words found and where that value falls in the range of required/suggested
number of words.
|
equals, hashCode, toString
public String getId()
ContentItem
.public String getProcessedLanguage()
public String getSource()
ContentItem
.public Trait getTree()
public int getWordCount()
public String getWordCountMessage()
public void setId(String id)
ContentItem
.id
- the unique identifierpublic void setProcessedLanguage(String processedLanguage)
processedLanguage
- the new processed languagepublic void setSource(String source)
ContentItem
.source
- the sourcepublic void setTree(Trait tree)
tree
- the new personality trait treepublic void setWordCount(int wordCount)
wordCount
- the number of wordspublic void setWordCountMessage(String wordCountMessage)
wordCountMessage
- the new word count messageCopyright © 2015–2016 IBM Watson. All rights reserved.