com.softwareag.mdm.service.comparison
Interface DifferenceBetweenContents

All Superinterfaces:
Difference
All Known Subinterfaces:
DifferenceBetweenInstances, DifferenceBetweenOccurrences

public interface DifferenceBetweenContents
extends Difference

Abstract class for representing differences between two adaptations (either instances or occurrences).


Method Summary
 void collectNodeDifferences(Collection collection)
          Collects node differences to the collection specified.
 Adaptation getContentOnLeft()
           
 Adaptation getContentOnRight()
           
 NodeDifference getNodeDifference(Path nodePath)
          Returns the difference at the node specified, null if no difference exists for this node.
 NodeDifference getNodeDifferenceOnTargetChangeSet(NodeDifference nodeDifferenceOnSource, DifferenceBetweenHomes targetChangeSet)
           
 List getNodeDifferences()
           
 int getNodeDifferencesSize()
           
 boolean isEmpty()
          Returns true if there is no differences.
 
Methods inherited from interface com.softwareag.mdm.service.comparison.Difference
isResolvedMode
 

Method Detail

getNodeDifference

public NodeDifference getNodeDifference(Path nodePath)
Returns the difference at the node specified, null if no difference exists for this node.


getNodeDifferences

public List getNodeDifferences()
Returns:
a List of NodeDifference

getNodeDifferencesSize

public int getNodeDifferencesSize()
Returns:
the total number of delta values.

isEmpty

public boolean isEmpty()
Description copied from interface: Difference
Returns true if there is no differences.

Specified by:
isEmpty in interface Difference

collectNodeDifferences

public void collectNodeDifferences(Collection collection)
Collects node differences to the collection specified.

See Also:
NodeDifference

getContentOnLeft

public Adaptation getContentOnLeft()

getContentOnRight

public Adaptation getContentOnRight()

getNodeDifferenceOnTargetChangeSet

public NodeDifference getNodeDifferenceOnTargetChangeSet(NodeDifference nodeDifferenceOnSource,
                                                         DifferenceBetweenHomes targetChangeSet)


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.