@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;
 }
Пример #2
0
 @Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   Board other = (Board) obj;
   if (boardId != other.boardId) return false;
   if (boardType == null) {
     if (other.boardType != null) return false;
   } else if (!boardType.equals(other.boardType)) return false;
   if (ip == null) {
     if (other.ip != null) return false;
   } else if (!ip.equals(other.ip)) return false;
   if (isAnnexB == null) {
     if (other.isAnnexB != null) return false;
   } else if (!isAnnexB.equals(other.isAnnexB)) return false;
   if (isLeasing == null) {
     if (other.isLeasing != null) return false;
   } else if (!isLeasing.equals(other.isLeasing)) return false;
   if (name == null) {
     if (other.name != null) return false;
   } else if (!name.equals(other.name)) return false;
   if (slot == null) {
     if (other.slot != null) return false;
   } else if (!slot.equals(other.slot)) return false;
   return true;
 }
Пример #3
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + boardId;
   result = prime * result + ((boardType == null) ? 0 : boardType.hashCode());
   result = prime * result + ((ip == null) ? 0 : ip.hashCode());
   result = prime * result + ((isAnnexB == null) ? 0 : isAnnexB.hashCode());
   result = prime * result + ((isLeasing == null) ? 0 : isLeasing.hashCode());
   result = prime * result + ((name == null) ? 0 : name.hashCode());
   result = prime * result + ((slot == null) ? 0 : slot.hashCode());
   return result;
 }
Пример #4
0
 @Override
 public int hashCode() {
   int result = bookId;
   result = 31 * result + (bookTitle != null ? bookTitle.hashCode() : 0);
   result = 31 * result + (author != null ? author.hashCode() : 0);
   result = 31 * result + (startDate != null ? startDate.hashCode() : 0);
   result = 31 * result + (endDate != null ? endDate.hashCode() : 0);
   result = 31 * result + (rating != null ? rating.hashCode() : 0);
   result = 31 * result + (completed != null ? completed.hashCode() : 0);
   return result;
 }
Пример #5
0
  @Override
  public int hashCode() {
    int result = lastDateUpdate != null ? lastDateUpdate.hashCode() : 0;
    result = 31 * result + (callList != null ? callList.hashCode() : 0);
    result = 31 * result + (status != null ? status.hashCode() : 0);
    result = 31 * result + (user != null ? user.hashCode() : 0);
    result = 31 * result + (company != null ? company.hashCode() : 0);
    result = 31 * result + (event != null ? event.hashCode() : 0);

    return result;
  }
Пример #6
0
  public Object getConfigValue() {
    Object objRet = null;

    if (configValue != null && !String.valueOf("null").equals(configValue)) {
      if ("true_false".contains(configValue)) {
        objRet = Boolean.valueOf(configValue).booleanValue();
        ;
      } else {
        objRet = configValue;
      }
    }
    return objRet;
  }
Пример #7
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((cnpj == null) ? 0 : cnpj.hashCode());
   result = prime * result + ((complemento == null) ? 0 : complemento.hashCode());
   result = prime * result + ((fax == null) ? 0 : fax.hashCode());
   result = prime * result + ((id == null) ? 0 : id.hashCode());
   result = prime * result + ((ie == null) ? 0 : ie.hashCode());
   result = prime * result + ((inativo == null) ? 0 : inativo.hashCode());
   result = prime * result + ((logradouro == null) ? 0 : logradouro.hashCode());
   result = prime * result + ((nome == null) ? 0 : nome.hashCode());
   result = prime * result + ((numero == null) ? 0 : numero.hashCode());
   result = prime * result + ((telefone == null) ? 0 : telefone.hashCode());
   return result;
 }
  @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;
  }
Пример #9
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (!(o instanceof CallListCompany)) return false;

    CallListCompany that = (CallListCompany) o;

    if (callList != null ? !callList.equals(that.callList) : that.callList != null) return false;
    if (company != null ? !company.equals(that.company) : that.company != null) return false;
    if (event != null ? !event.equals(that.event) : that.event != null) return false;
    if (lastDateUpdate != null
        ? !lastDateUpdate.equals(that.lastDateUpdate)
        : that.lastDateUpdate != null) return false;
    if (status != null ? !status.equals(that.status) : that.status != null) return false;
    if (user != null ? !user.equals(that.user) : that.user != null) return false;

    return true;
  }
Пример #10
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    Books books = (Books) o;

    if (bookId != books.bookId) return false;
    if (author != null ? !author.equals(books.author) : books.author != null) return false;
    if (bookTitle != null ? !bookTitle.equals(books.bookTitle) : books.bookTitle != null)
      return false;
    if (completed != null ? !completed.equals(books.completed) : books.completed != null)
      return false;
    if (endDate != null ? !endDate.equals(books.endDate) : books.endDate != null) return false;
    if (rating != null ? !rating.equals(books.rating) : books.rating != null) return false;
    if (startDate != null ? !startDate.equals(books.startDate) : books.startDate != null)
      return false;

    return true;
  }
Пример #11
0
 public void toXmlElement(Element root) {
   Element rt = root.addElement("relationType");
   rt.addElement("id").addText(String.valueOf(getId()));
   rt.addElement("name").addText(LocalMessage.loc(getName()));
   rt.addElement("sysName").addText(getName());
   rt.addElement("description").addText(LocalMessage.loc(getDescription()));
   rt.addElement("rightobjectprotected").addText(rightobjectprotected.toString());
   rt.addElement("leftobjectprotected").addText(leftobjectprotected.toString());
   rt.addElement("cloneOnLeftCopy").addText(cloneOnLeftCopy.toString());
   rt.addElement("cloneOnLeftVersion").addText(cloneOnLeftVersion.toString());
   rt.addElement("cloneOnRightCopy").addText(cloneOnRightCopy.toString());
   rt.addElement("cloneOnRightVersion").addText(cloneOnRightVersion.toString());
   rt.addElement("leftResolver").addText(leftResolver.getName());
   rt.addElement("rightResolver").addText(rightResolver.getName());
 }
Пример #12
0
 @Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   Fabricante other = (Fabricante) obj;
   if (cnpj == null) {
     if (other.cnpj != null) return false;
   } else if (!cnpj.equals(other.cnpj)) return false;
   if (complemento == null) {
     if (other.complemento != null) return false;
   } else if (!complemento.equals(other.complemento)) return false;
   if (fax == null) {
     if (other.fax != null) return false;
   } else if (!fax.equals(other.fax)) return false;
   if (id == null) {
     if (other.id != null) return false;
   } else if (!id.equals(other.id)) return false;
   if (ie == null) {
     if (other.ie != null) return false;
   } else if (!ie.equals(other.ie)) return false;
   if (inativo == null) {
     if (other.inativo != null) return false;
   } else if (!inativo.equals(other.inativo)) return false;
   if (logradouro == null) {
     if (other.logradouro != null) return false;
   } else if (!logradouro.equals(other.logradouro)) return false;
   if (nome == null) {
     if (other.nome != null) return false;
   } else if (!nome.equals(other.nome)) return false;
   if (numero == null) {
     if (other.numero != null) return false;
   } else if (!numero.equals(other.numero)) return false;
   if (telefone == null) {
     if (other.telefone != null) return false;
   } else if (!telefone.equals(other.telefone)) return false;
   return true;
 }
Пример #13
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (!(o instanceof RelationType)) return false;

    RelationType that = (RelationType) o;

    if (!cloneOnLeftCopy.equals(that.cloneOnLeftCopy)) return false;
    if (!cloneOnLeftVersion.equals(that.cloneOnLeftVersion)) return false;
    if (!cloneOnRightCopy.equals(that.cloneOnRightCopy)) return false;
    if (!cloneOnRightVersion.equals(that.cloneOnRightVersion)) return false;
    if (!description.equals(that.description)) return false;
    if (!leftResolver.equals(that.leftResolver)) return false;
    if (!leftobjectprotected.equals(that.leftobjectprotected)) return false;
    if (!name.equals(that.name)) return false;
    if (!rightResolver.equals(that.rightResolver)) return false;
    if (!rightobjectprotected.equals(that.rightobjectprotected)) return false;

    return true;
  }
Пример #14
0
 public Boolean isUpdating() {
   return (updating != null ? updating.booleanValue() : false);
 }