public interface DiffElement
| Modifier and Type | Method and Description |
|---|---|
DiffStatus |
getDiffStatus()
Difference status of the element compared to original one.
|
Projection |
getProjection()
Projection of the element.
|
boolean |
isChildrenEqual()
Shows whether hierarchy and properties of all children are the same for compared and original elements.
|
boolean |
isHierarhyEqual()
Shows whether hierarchy of all children, regardless of their properties, are the same for compared and original
elements.
|
boolean |
isSelfEqual()
Shows whether compared and original elements have the same properties.
|
DiffStatus getDiffStatus()
Exception: for an original element DiffStatus has other meaning.
DiffStatus.ORIGINAL shows that it is present in original dataDiffStatus.ORIGINAL_ABSENT shows that it is absent in original data but exists in at least one
comparing databoolean isHierarhyEqual()
true if hierarchy of children are the sameboolean isChildrenEqual()
true if hierarchy and properties of children are completely the sameboolean isSelfEqual()
true if properties are the sameProjection getProjection()
In case if some comparing data has no such element it will return null.
Copyright © 2004–2019 OpenL Tablets. All rights reserved.