@Override
 public int hashCode() {
   int result = termID != null ? termID.hashCode() : 0;
   result = 31 * result + (nachtMo != null ? nachtMo.hashCode() : 0);
   result = 31 * result + (morgens != null ? morgens.hashCode() : 0);
   result = 31 * result + (mittags != null ? mittags.hashCode() : 0);
   result = 31 * result + (nachmittags != null ? nachmittags.hashCode() : 0);
   result = 31 * result + (abends != null ? abends.hashCode() : 0);
   result = 31 * result + (nachtAb != null ? nachtAb.hashCode() : 0);
   result = 31 * result + (uhrzeitAnzahl != null ? uhrzeitAnzahl.hashCode() : 0);
   result = 31 * result + (uhrzeit != null ? uhrzeit.hashCode() : 0);
   result = 31 * result + (taeglich != null ? taeglich.hashCode() : 0);
   result = 31 * result + (woechentlich != null ? woechentlich.hashCode() : 0);
   result = 31 * result + (monatlich != null ? monatlich.hashCode() : 0);
   result = 31 * result + (tagNum != null ? tagNum.hashCode() : 0);
   result = 31 * result + (mon != null ? mon.hashCode() : 0);
   result = 31 * result + (die != null ? die.hashCode() : 0);
   result = 31 * result + (mit != null ? mit.hashCode() : 0);
   result = 31 * result + (don != null ? don.hashCode() : 0);
   result = 31 * result + (fre != null ? fre.hashCode() : 0);
   result = 31 * result + (sam != null ? sam.hashCode() : 0);
   result = 31 * result + (son != null ? son.hashCode() : 0);
   result = 31 * result + (erforderlich != null ? erforderlich.hashCode() : 0);
   result = 31 * result + (lDatum != null ? lDatum.hashCode() : 0);
   result = 31 * result + (dauer != null ? dauer.hashCode() : 0);
   result = 31 * result + (bemerkung != null ? bemerkung.hashCode() : 0);
   result = 31 * result + (version != null ? version.hashCode() : 0);
   result = 31 * result + (nursingProcess != null ? nursingProcess.hashCode() : 0);
   result = 31 * result + (intervention != null ? intervention.hashCode() : 0);
   return result;
 }
Exemple #2
0
 @Override
 public int hashCode() {
   int result = labRoomUsageId;
   result = 31 * result + labRoomId;
   result = 31 * result + timeFrom;
   result = 31 * result + (courseId != null ? courseId.hashCode() : 0);
   result = 31 * result + (teacherId != null ? teacherId.hashCode() : 0);
   result = 31 * result + (nowNum != null ? nowNum.hashCode() : 0);
   result = 31 * result + (maxNum != null ? maxNum.hashCode() : 0);
   result = 31 * result + (isOk != null ? isOk.hashCode() : 0);
   result = 31 * result + (description != null ? description.hashCode() : 0);
   return result;
 }
 @Override
 public int hashCode() {
   int result = (int) (userId ^ (userId >>> 32));
   result = 31 * result + (email != null ? email.hashCode() : 0);
   result = 31 * result + (dob != null ? dob.hashCode() : 0);
   result = 31 * result + (password != null ? password.hashCode() : 0);
   result = 31 * result + (dateCreated != null ? dateCreated.hashCode() : 0);
   result = 31 * result + (dateModified != null ? dateModified.hashCode() : 0);
   result = 31 * result + (int) status;
   result = 31 * result + (statusReasonCode != null ? statusReasonCode.hashCode() : 0);
   result = 31 * result + (emailStatus != null ? emailStatus.hashCode() : 0);
   return result;
 }
Exemple #4
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    LabRoomUsageEntity that = (LabRoomUsageEntity) o;

    if (labRoomUsageId != that.labRoomUsageId) return false;
    if (labRoomId != that.labRoomId) return false;
    if (timeFrom != that.timeFrom) return false;
    if (courseId != null ? !courseId.equals(that.courseId) : that.courseId != null) return false;
    if (teacherId != null ? !teacherId.equals(that.teacherId) : that.teacherId != null)
      return false;
    if (nowNum != null ? !nowNum.equals(that.nowNum) : that.nowNum != null) return false;
    if (maxNum != null ? !maxNum.equals(that.maxNum) : that.maxNum != null) return false;
    if (isOk != null ? !isOk.equals(that.isOk) : that.isOk != null) return false;
    if (description != null ? !description.equals(that.description) : that.description != null)
      return false;

    return true;
  }
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    UserAccountEntity that = (UserAccountEntity) o;

    if (userId != that.userId) return false;
    if (status != that.status) return false;
    if (email != null ? !email.equals(that.email) : that.email != null) return false;
    if (dob != null ? !dob.equals(that.dob) : that.dob != null) return false;
    if (password != null ? !password.equals(that.password) : that.password != null) return false;
    if (dateCreated != null ? !dateCreated.equals(that.dateCreated) : that.dateCreated != null)
      return false;
    if (dateModified != null ? !dateModified.equals(that.dateModified) : that.dateModified != null)
      return false;
    if (statusReasonCode != null
        ? !statusReasonCode.equals(that.statusReasonCode)
        : that.statusReasonCode != null) return false;
    if (emailStatus != null ? !emailStatus.equals(that.emailStatus) : that.emailStatus != null)
      return false;

    return true;
  }
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    InterventionSchedule that = (InterventionSchedule) o;
    if (termID != null ? !termID.equals(that.termID) : that.termID != null) return false;
    if (abends != null ? !abends.equals(that.abends) : that.abends != null) return false;
    if (bemerkung != null ? !bemerkung.equals(that.bemerkung) : that.bemerkung != null)
      return false;
    if (dauer != null ? !dauer.equals(that.dauer) : that.dauer != null) return false;
    if (die != null ? !die.equals(that.die) : that.die != null) return false;
    if (don != null ? !don.equals(that.don) : that.don != null) return false;
    if (erforderlich != null ? !erforderlich.equals(that.erforderlich) : that.erforderlich != null)
      return false;
    if (fre != null ? !fre.equals(that.fre) : that.fre != null) return false;
    if (intervention != null ? !intervention.equals(that.intervention) : that.intervention != null)
      return false;
    if (lDatum != null ? !lDatum.equals(that.lDatum) : that.lDatum != null) return false;
    if (mit != null ? !mit.equals(that.mit) : that.mit != null) return false;
    if (mittags != null ? !mittags.equals(that.mittags) : that.mittags != null) return false;
    if (mon != null ? !mon.equals(that.mon) : that.mon != null) return false;
    if (monatlich != null ? !monatlich.equals(that.monatlich) : that.monatlich != null)
      return false;
    if (morgens != null ? !morgens.equals(that.morgens) : that.morgens != null) return false;
    if (nachmittags != null ? !nachmittags.equals(that.nachmittags) : that.nachmittags != null)
      return false;
    if (nachtAb != null ? !nachtAb.equals(that.nachtAb) : that.nachtAb != null) return false;
    if (nachtMo != null ? !nachtMo.equals(that.nachtMo) : that.nachtMo != null) return false;
    if (nursingProcess != null
        ? !nursingProcess.equals(that.nursingProcess)
        : that.nursingProcess != null) return false;
    if (sam != null ? !sam.equals(that.sam) : that.sam != null) return false;
    if (son != null ? !son.equals(that.son) : that.son != null) return false;
    if (taeglich != null ? !taeglich.equals(that.taeglich) : that.taeglich != null) return false;
    if (tagNum != null ? !tagNum.equals(that.tagNum) : that.tagNum != null) return false;
    if (uhrzeit != null ? !uhrzeit.equals(that.uhrzeit) : that.uhrzeit != null) return false;
    if (uhrzeitAnzahl != null
        ? !uhrzeitAnzahl.equals(that.uhrzeitAnzahl)
        : that.uhrzeitAnzahl != null) return false;
    if (version != null ? !version.equals(that.version) : that.version != null) return false;
    if (woechentlich != null ? !woechentlich.equals(that.woechentlich) : that.woechentlich != null)
      return false;
    if (uuid != null ? !uuid.equals(that.uuid) : that.uuid != null) return false;

    return true;
  }