Class ElementLocations

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

public class ElementLocations
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A list of `begin` and `end` indexes that indicate the locations of the elements in the input document.
  • Constructor Summary

    Constructors
    Constructor Description
    ElementLocations()  
  • Method Summary

    Modifier and Type Method Description
    Long getBegin()
    Gets the begin.
    Long getEnd()
    Gets the end.

    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

    • ElementLocations

      public ElementLocations()
  • Method Details

    • getBegin

      public Long getBegin()
      Gets the begin.

      An integer that indicates the starting position of the element in the input document.

      Returns:
      the begin
    • getEnd

      public Long getEnd()
      Gets the end.

      An integer that indicates the ending position of the element in the input document.

      Returns:
      the end