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

public class Key
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A key in a key-value pair.
  • Constructor Summary

    Constructors
    Constructor Description
    Key()  
  • Method Summary

    Modifier and Type Method Description
    String getCellId()
    Gets the cellId.
    Location getLocation()
    Gets the location.
    String getText()
    Gets the text.

    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

    • Key

      public Key()
  • Method Details

    • getCellId

      public String getCellId()
      Gets the cellId.

      The unique ID of the key in the table.

      Returns:
      the cellId
    • getLocation

      public Location getLocation()
      Gets the location.

      The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.

      Returns:
      the location
    • getText

      public String getText()
      Gets the text.

      The text content of the table cell without HTML markup.

      Returns:
      the text