public static class SAORelation.RelationObject extends GenericModel
Constructor and Description |
---|
RelationObject() |
Modifier and Type | Method and Description |
---|---|
Entity |
getEntity()
Gets the entity.
|
java.util.List<Keyword> |
getKeywords()
Gets the keywords.
|
Sentiment |
getSentiment()
Gets the sentiment.
|
Sentiment |
getSentimentFromSubject()
Gets the sentiment from subject.
|
java.lang.String |
getText()
Gets the text.
|
void |
setEntity(Entity entity)
Sets the entity.
|
void |
setKeywords(java.util.List<Keyword> keywords)
Sets the keywords.
|
void |
setSentiment(Sentiment sentiment)
Sets the sentiment.
|
void |
setSentimentFromSubject(Sentiment sentimentFromSubject)
Sets the sentiment from subject.
|
void |
setText(java.lang.String text)
Sets the text.
|
equals, hashCode, toString
public Entity getEntity()
public java.util.List<Keyword> getKeywords()
public Sentiment getSentiment()
public Sentiment getSentimentFromSubject()
public java.lang.String getText()
public void setEntity(Entity entity)
entity
- the new entitypublic void setKeywords(java.util.List<Keyword> keywords)
keywords
- the keywords to setpublic void setSentiment(Sentiment sentiment)
sentiment
- The sentimentpublic void setSentimentFromSubject(Sentiment sentimentFromSubject)
sentimentFromSubject
- the sentimentFromSubject to setpublic void setText(java.lang.String text)
text
- The text