Interface DifferenceBetweenContents
- All Superinterfaces:
Difference
- All Known Subinterfaces:
DifferenceBetweenInstances
,DifferenceBetweenOccurrences
Abstract class for representing differences between two datasets or two records.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
collectNodeDifferences
(Collection<? super NodeDifference> aCollection) Adds node differences to the specified collection.Returns the content on the left side.Returns the content on the right side.getNodeDifference
(Path aNodePath) Returns the difference for the specified node,null
if there is no difference.getNodeDifferenceOnTargetChangeSet
(NodeDifference nodeDifferenceOnSource, DifferenceBetweenHomes targetChangeSet) Returns aList
ofNodeDifference
.int
Returns the total number of delta values.boolean
isEmpty()
Returnstrue
if there are no differences.Methods inherited from interface com.orchestranetworks.service.comparison.Difference
isResolvedMode
-
Method Details
-
getNodeDifference
Returns the difference for the specified node,null
if there is no difference.If the specified node is a complex node and not an aggregated list, this method always returns
null
, since differences are only detected at the simple node level and at the aggregated list level. Additionally, if the specified node is under an aggregated list, this method also always returnsnull
-
getNodeDifferences
List<NodeDifference> getNodeDifferences()Returns aList
ofNodeDifference
. -
getNodeDifferencesSize
int getNodeDifferencesSize()Returns the total number of delta values. -
isEmpty
boolean isEmpty()Description copied from interface:Difference
Returnstrue
if there are no differences.- Specified by:
isEmpty
in interfaceDifference
-
collectNodeDifferences
Adds node differences to the specified collection.- See Also:
-
getContentOnLeft
Adaptation getContentOnLeft()Returns the content on the left side. -
getContentOnRight
Adaptation getContentOnRight()Returns the content on the right side. -
getNodeDifferenceOnTargetChangeSet
NodeDifference getNodeDifferenceOnTargetChangeSet(NodeDifference nodeDifferenceOnSource, DifferenceBetweenHomes targetChangeSet)
-