Class SemanticRolesEntity

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.SemanticRolesEntity
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class SemanticRolesEntity
extends com.ibm.cloud.sdk.core.service.model.GenericModel
SemanticRolesEntity.
  • Constructor Summary

    Constructors
    Constructor Description
    SemanticRolesEntity()  
  • Method Summary

    Modifier and Type Method Description
    String getText()
    Gets the text.
    String getType()
    Gets the type.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SemanticRolesEntity

      public SemanticRolesEntity()
  • Method Details

    • getType

      public String getType()
      Gets the type.

      Entity type.

      Returns:
      the type
    • getText

      public String getText()
      Gets the text.

      The entity text.

      Returns:
      the text