| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the class this Pojomator is generated for.public interface Pojomator<T>
A provider of the three standard Object methods,
 Object.equals(Object), Object.hashCode() and Object.toString().
| Method Summary | |
|---|---|
 Differences | 
doDiff(T instance,
       T other)
Compute the differences between instance and other among the properties
 examined by doEquals(Object, Object). | 
 boolean | 
doEquals(T instance,
         java.lang.Object other)
Compute whether instance and other are equal to each other in the sense of
 Object's equals method. | 
 int | 
doHashCode(T instance)
Compute the hashCode for a given instance of T. | 
 java.lang.String | 
doToString(T instance)
Compute the toString representation for a given instance of T | 
| Method Detail | 
|---|
int doHashCode(T instance)
T.
instance - the instance to compute the hashCode for - must not be null
instanceObject.hashCode()java.lang.String doToString(T instance)
toString representation for a given instance of T
instance - the instance to compute the toString representation for - must not be null
toString representation of instanceObject.toString()
boolean doEquals(T instance,
                 java.lang.Object other)
instance and other are equal to each other in the sense of
 Object's equals method.
instance - the instance to test against - must not be nullother - the instance to test
true if instance should be considered equal to other, and
         false otherwise.Object.equals(Object)
Differences doDiff(T instance,
                   T other)
instance and other among the properties
 examined by doEquals(Object, Object).  It is guaranteed that invoking
 Differences.areEqual() on the returned object will return true iff
 instance.equals(other).
instance - the instance to diff against - must not be nullother - the instance to diff
instance and other
 among the properties examined by doEquals(Object, Object).
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||