@Override
 public int hashCode() {
   int result = id != null ? id.hashCode() : 0;
   result = 31 * result + (terminationReason != null ? terminationReason.hashCode() : 0);
   result = 31 * result + (sorRoleId != null ? sorRoleId.hashCode() : 0);
   result = 31 * result + (end != null ? end.hashCode() : 0);
   return result;
 }
Exemple #2
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((id == null) ? 0 : id.hashCode());
   return result;
 }
Exemple #3
0
 @Override
 public int hashCode() {
   int result = id != null ? id.hashCode() : 0;
   result = 31 * result + (firstName != null ? firstName.hashCode() : 0);
   result = 31 * result + (lastName != null ? lastName.hashCode() : 0);
   result = 31 * result + (address != null ? address.hashCode() : 0);
   result = 31 * result + (city != null ? city.hashCode() : 0);
   result = 31 * result + (telephone != null ? telephone.hashCode() : 0);
   result = 31 * result + (pets != null ? pets.hashCode() : 0);
   return result;
 }
 @Override
 public int hashCode() {
   int result = encounterDateTime != null ? encounterDateTime.hashCode() : 0;
   result = 31 * result + (visitStartDateTime != null ? visitStartDateTime.hashCode() : 0);
   result = 31 * result + (targetObsRelation != null ? targetObsRelation.hashCode() : 0);
   result =
       31 * result
           + (encounterTransactionObservation != null
               ? encounterTransactionObservation.hashCode()
               : 0);
   result = 31 * result + (groupMembers != null ? groupMembers.hashCode() : 0);
   result = 31 * result + (providers != null ? providers.hashCode() : 0);
   result = 31 * result + (isAbnormal != null ? isAbnormal.hashCode() : 0);
   result = 31 * result + (duration != null ? duration.hashCode() : 0);
   result = 31 * result + (type != null ? type.hashCode() : 0);
   result = 31 * result + conceptSortWeight;
   return result;
 }
 @Override
 public int hashCode() {
   int result = id != null ? id.hashCode() : 0;
   result = 31 * result + (ssn != null ? ssn.hashCode() : 0);
   result = 31 * result + (firstName != null ? firstName.hashCode() : 0);
   result = 31 * result + (lastName != null ? lastName.hashCode() : 0);
   result = 31 * result + (frequentFlyerMiles != null ? frequentFlyerMiles.hashCode() : 0);
   result = 31 * result + (picture != null ? Arrays.hashCode(picture) : 0);
   result = 31 * result + (dateOfBirth != null ? dateOfBirth.hashCode() : 0);
   result = 31 * result + age;
   result = 31 * result + (lastFlight != null ? lastFlight.hashCode() : 0);
   result = 31 * result + (passengerType != null ? passengerType.hashCode() : 0);
   result = 31 * result + (preferences != null ? preferences.hashCode() : 0);
   result = 31 * result + (cards != null ? cards.hashCode() : 0);
   result = 31 * result + (address != null ? address.hashCode() : 0);
   result = 31 * result + (tickets != null ? tickets.hashCode() : 0);
   return result;
 }