Interface DifferenceBetweenContents
-
- All Superinterfaces:
Difference
- All Known Subinterfaces:
DifferenceBetweenInstances,DifferenceBetweenOccurrences
public interface DifferenceBetweenContents extends Difference
Abstract class for representing differences between two datasets or two records.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcollectNodeDifferences(Collection<? super NodeDifference> aCollection)Adds node differences to the specified collection.AdaptationgetContentOnLeft()Returns the content on the left side.AdaptationgetContentOnRight()Returns the content on the right side.NodeDifferencegetNodeDifference(Path aNodePath)Returns the difference for the specified node,nullif there is no difference.NodeDifferencegetNodeDifferenceOnTargetChangeSet(NodeDifference nodeDifferenceOnSource, DifferenceBetweenHomes targetChangeSet)List<NodeDifference>getNodeDifferences()Returns aListofNodeDifference.intgetNodeDifferencesSize()Returns the total number of delta values.booleanisEmpty()Returnstrueif there are no differences.-
Methods inherited from interface com.orchestranetworks.service.comparison.Difference
isResolvedMode
-
-
-
-
Method Detail
-
getNodeDifference
NodeDifference getNodeDifference(Path aNodePath)
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
void collectNodeDifferences(Collection<? super NodeDifference> aCollection)
Adds node differences to the specified collection.- See Also:
NodeDifference
-
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)
-
-