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 Summary
Constructors Constructor Description UnalignedElement()
-
Method Summary
Modifier and Type Method Description List<Attribute>
getAttributes()
Gets the attributes.List<CategoryComparison>
getCategories()
Gets the categories.String
getDocumentLabel()
Gets the documentLabel.Location
getLocation()
Gets the location.String
getText()
Gets the text.List<TypeLabelComparison>
getTypes()
Gets the types.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
UnalignedElement
public UnalignedElement()
-
-
Method Details
-
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
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
Gets the text.The text of the element.
- Returns:
- the text
-
getTypes
Gets the types.Description of the action specified by the element and whom it affects.
- Returns:
- the types
-
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
Gets the attributes.List of document attributes.
- Returns:
- the attributes
-