Class RelationEntity
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.RelationEntity
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class RelationEntity
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An entity that corresponds with an argument in a relation.
-
Constructor Summary
Constructors Constructor Description RelationEntity()
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
RelationEntity
public RelationEntity()
-
-
Method Details
-
getText
Gets the text.Text that corresponds to the entity.
- Returns:
- the text
-
getType
Gets the type.Entity type.
- Returns:
- the type
-