public class SemanticRolesResult extends GenericModel
Constructor and Description |
---|
SemanticRolesResult() |
Modifier and Type | Method and Description |
---|---|
SemanticRolesAction |
getAction()
Gets the action.
|
SemanticRolesObject |
getObject()
Gets the object.
|
java.lang.String |
getSentence()
Gets the sentence.
|
SemanticRolesSubject |
getSubject()
Gets the subject.
|
void |
setAction(SemanticRolesAction action)
Sets the action.
|
void |
setObject(SemanticRolesObject object)
Sets the object.
|
void |
setSentence(java.lang.String sentence)
Sets the sentence.
|
void |
setSubject(SemanticRolesSubject subject)
Sets the subject.
|
equals, hashCode, toString
public java.lang.String getSentence()
public SemanticRolesSubject getSubject()
public SemanticRolesAction getAction()
public SemanticRolesObject getObject()
public void setSentence(java.lang.String sentence)
sentence
- the new sentencepublic void setSubject(SemanticRolesSubject subject)
subject
- the new subjectpublic void setAction(SemanticRolesAction action)
action
- the new actionpublic void setObject(SemanticRolesObject object)
object
- the new object