public class SAORelation extends GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
SAORelation.Action
The Class Action.
|
static class |
SAORelation.RelationObject
The Class RelationObject.
|
static class |
SAORelation.Subject
The Subject relation.
|
Constructor and Description |
---|
SAORelation() |
Modifier and Type | Method and Description |
---|---|
SAORelation.Action |
getAction()
Gets the action.
|
SAORelation.RelationObject |
getObject()
Gets the object.
|
String |
getSentence()
Gets the sentence.
|
SAORelation.Subject |
getSubject()
Gets the subject.
|
void |
setAction(SAORelation.Action action)
Sets the action.
|
void |
setObject(SAORelation.RelationObject object)
Sets the object.
|
void |
setSentence(String sentence)
Sets the sentence.
|
void |
setSubject(SAORelation.Subject subject)
Sets the subject.
|
equals, hashCode, toString
public SAORelation.Action getAction()
public SAORelation.RelationObject getObject()
public String getSentence()
public SAORelation.Subject getSubject()
public void setAction(SAORelation.Action action)
action
- The actionpublic void setObject(SAORelation.RelationObject object)
object
- The objectpublic void setSentence(String sentence)
sentence
- The sentencepublic void setSubject(SAORelation.Subject subject)
subject
- The subjectCopyright © 2015–2016 IBM Watson. All rights reserved.