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 classLocation.BuilderBuilder. -
Method Summary
Modifier and Type Method Description Longbegin()Gets the begin.Longend()Gets the end.Location.BuildernewBuilder()New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a Location builder
-
begin
Gets the begin.The element's `begin` index.
- Returns:
- the begin
-
end
Gets the end.The element's `end` index.
- Returns:
- the end
-