Class UnalignedElement

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

public class UnalignedElement
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Element that does not align semantically between two compared documents.
  • Constructor Details

    • UnalignedElement

      public UnalignedElement()
  • Method Details

    • getDocumentLabel

      public String getDocumentLabel()
      Gets the documentLabel.

      The label assigned to the document by the value of the `file_1_label` or `file_2_label` parameters on the **Compare two documents** method.

      Returns:
      the documentLabel
    • 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 of the element.

      Returns:
      the text
    • getTypes

      public List<TypeLabelComparison> getTypes()
      Gets the types.

      Description of the action specified by the element and whom it affects.

      Returns:
      the types
    • getCategories

      public List<CategoryComparison> getCategories()
      Gets the categories.

      List of functional categories into which the element falls; in other words, the subject matter of the element.

      Returns:
      the categories
    • getAttributes

      public List<Attribute> getAttributes()
      Gets the attributes.

      List of document attributes.

      Returns:
      the attributes