public class TypedRelation extends GenericModel
TypedArguments
.Constructor and Description |
---|
TypedRelation() |
Modifier and Type | Method and Description |
---|---|
List<TypedArguments> |
getArguments()
Gets the arguments.
|
Double |
getScore()
Gets the score.
|
String |
getSentence()
Gets the sentence.
|
String |
getType()
Gets the type.
|
void |
setArguments(List<TypedArguments> arguments)
Sets the arguments.
|
void |
setScore(Double score)
Sets the score.
|
void |
setSentence(String sentence)
Sets the sentence.
|
void |
setType(String type)
Sets the type.
|
equals, hashCode, toString
public String getType()
public void setType(String type)
type
- The typepublic Double getScore()
public void setScore(Double score)
score
- The scorepublic String getSentence()
public void setSentence(String sentence)
sentence
- the new sentencepublic List<TypedArguments> getArguments()
public void setArguments(List<TypedArguments> arguments)
arguments
- the new argumentsCopyright © 2015–2016 IBM Watson. All rights reserved.