Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #3
0
 @Override
 public int hashCode() {
   if (fHashCode == 0) {
     fHashCode = ModelUtil.hashCodeFor(getSignificantFields());
   }
   return fHashCode;
 }
Beispiel #4
0
 @Override
 public String toString() {
   return ModelUtil.toStringFor(this);
 }