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 TypeMethodDescriptionvoidcollectNodeDifferences(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,nullif there is no difference.getNodeDifferenceOnTargetChangeSet(NodeDifference nodeDifferenceOnSource, DifferenceBetweenHomes targetChangeSet) Returns aListofNodeDifference.intReturns the total number of delta values.booleanisEmpty()Returnstrueif there are no differences.Methods inherited from interface com.orchestranetworks.service.comparison.Difference
isResolvedMode
-
Method Details
-
getNodeDifference
Returns the difference for the specified node,nullif 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 aListofNodeDifference. -
getNodeDifferencesSize
int getNodeDifferencesSize()Returns the total number of delta values. -
isEmpty
boolean isEmpty()Description copied from interface:DifferenceReturnstrueif there are no differences.- Specified by:
isEmptyin 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)
-