org.pojomatic.diff
Class PropertyDifferences

java.lang.Object
  extended by org.pojomatic.diff.PropertyDifferences
All Implemented Interfaces:
Differences

public class PropertyDifferences
extends java.lang.Object
implements Differences


Constructor Summary
PropertyDifferences(java.util.List<Difference> differences)
           
 
Method Summary
 boolean areEqual()
           
 boolean equals(java.lang.Object other)
           
 java.util.List<Difference> getDifferences()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyDifferences

public PropertyDifferences(java.util.List<Difference> differences)
Method Detail

getDifferences

public java.util.List<Difference> getDifferences()

toString

public java.lang.String toString()
Specified by:
toString in interface Differences
Overrides:
toString in class java.lang.Object
Returns:
a description of the differences

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

areEqual

public boolean areEqual()
Specified by:
areEqual in interface Differences
Returns:
true if the two POJOs were equal to each other; false otherwise.


Copyright © 2008-2009. All Rights Reserved.