public static class SAORelation.Subject extends GenericModel
| Constructor and Description | 
|---|
Subject()  | 
| Modifier and Type | Method and Description | 
|---|---|
Entity | 
getEntity()
Gets the entity. 
 | 
List<Keyword> | 
getKeywords()
Gets the keywords. 
 | 
Sentiment | 
getSentiment()
Gets the sentiment. 
 | 
String | 
getText()
Gets the text. 
 | 
void | 
setEntity(Entity entity)
Sets the entity. 
 | 
void | 
setKeywords(List<Keyword> keywords)
Sets the keywords. 
 | 
void | 
setSentiment(Sentiment sentiment)
Sets the sentiment. 
 | 
void | 
setText(String text)
Sets the text. 
 | 
equals, hashCode, toStringpublic Entity getEntity()
public Sentiment getSentiment()
public String getText()
public void setEntity(Entity entity)
entity - the entity to setpublic void setKeywords(List<Keyword> keywords)
keywords - the keywords to setpublic void setSentiment(Sentiment sentiment)
sentiment - the sentiment to setpublic void setText(String text)
text - the text to setCopyright © 2015–2016 IBM Watson. All rights reserved.