Example #1
0
 @Override
 public boolean equals(Object aThat) {
   Boolean result = ModelUtil.quickEquals(this, aThat);
   if (result == null) {
     Sponsorship that = (Sponsorship) aThat;
     result = ModelUtil.equalsFor(this.getSignificantFields(), that.getSignificantFields());
   }
   return result;
 }
Example #2
0
 @Override
 public boolean equals(Object aThat) {
   Boolean result = ModelUtil.quickEquals(this, aThat);
   if (result == null) {
     PontoReferencia that = (PontoReferencia) aThat;
     result = ModelUtil.equalsFor(this.getSignificantFields(), that.getSignificantFields());
   }
   return result;
 }
Example #3
0
 @Override
 public int hashCode() {
   if (fHashCode == 0) {
     fHashCode = ModelUtil.hashCodeFor(getSignificantFields());
   }
   return fHashCode;
 }
Example #4
0
 @Override
 public String toString() {
   return ModelUtil.toStringFor(this);
 }