Class Location

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

public class Location
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Location.Builder
    Builder.
  • Method Summary

    Modifier and Type Method Description
    Long begin()
    Gets the begin.
    Long end()
    Gets the end.
    Location.Builder newBuilder()
    New builder.

    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
  • Method Details

    • newBuilder

      public Location.Builder newBuilder()
      New builder.
      Returns:
      a Location builder
    • begin

      public Long begin()
      Gets the begin.

      The element's `begin` index.

      Returns:
      the begin
    • end

      public Long end()
      Gets the end.

      The element's `end` index.

      Returns:
      the end