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