public class RelationArgument
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Field and Description | 
|---|---|
| protected java.util.List<RelationEntity> | entities | 
| protected java.util.List<java.lang.Long> | location | 
| protected java.lang.String | text | 
| Constructor and Description | 
|---|
| RelationArgument() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<RelationEntity> | getEntities()Gets the entities. | 
| java.util.List<java.lang.Long> | getLocation()Gets the location. | 
| java.lang.String | getText()Gets the text. | 
protected java.util.List<RelationEntity> entities
protected java.util.List<java.lang.Long> location
protected java.lang.String text
public java.util.List<RelationEntity> getEntities()
An array of extracted entities.
public java.util.List<java.lang.Long> getLocation()
Character offsets indicating the beginning and end of the mention in the analyzed text.
public java.lang.String getText()
Text that corresponds to the argument.