public class Entity extends AlchemyGenericModel
Constructor and Description |
---|
Entity() |
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Gets the count.
|
DisambiguatedLinks |
getDisambiguated()
Gets the disambiguated.
|
KnowledgeGraph |
getKnowledgeGraph()
Gets the knowledge graph.
|
List<Quotation> |
getQuotations()
Gets the quotations.
|
Double |
getRelevance()
Gets the relevance.
|
Sentiment |
getSentiment()
Gets the sentiment.
|
String |
getText()
Gets the text.
|
String |
getType()
Gets the type.
|
void |
setCount(int count)
Sets the count.
|
void |
setDisambiguated(DisambiguatedLinks disambiguated)
Sets the disambiguated.
|
void |
setKnowledgeGraph(KnowledgeGraph knowledgeGraph)
Sets the knowledge graph.
|
void |
setQuotations(List<Quotation> quotations)
Sets the quotations.
|
void |
setRelevance(Double relevance)
Sets the relevance.
|
void |
setSentiment(Sentiment sentiment)
Sets the sentiment.
|
void |
setText(String text)
Sets the text.
|
void |
setType(String type)
Sets the type.
|
getTotalTransactions, setTotalTransactions
equals, hashCode, toString
public int getCount()
public DisambiguatedLinks getDisambiguated()
public KnowledgeGraph getKnowledgeGraph()
public Double getRelevance()
public Sentiment getSentiment()
public String getText()
public String getType()
public void setCount(int count)
count
- The countpublic void setDisambiguated(DisambiguatedLinks disambiguated)
disambiguated
- The disambiguatedpublic void setKnowledgeGraph(KnowledgeGraph knowledgeGraph)
knowledgeGraph
- The knowledgeGraphpublic void setQuotations(List<Quotation> quotations)
quotations
- The quotationspublic void setRelevance(Double relevance)
relevance
- The relevancepublic void setSentiment(Sentiment sentiment)
sentiment
- The sentimentpublic void setText(String text)
text
- The textpublic void setType(String type)
type
- The typeCopyright © 2015–2016 IBM Watson. All rights reserved.