public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof Registro)) return false; Registro other = (Registro) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = super.equals(obj) && ((this.EMail == null && other.getEMail() == null) || (this.EMail != null && this.EMail.equals(other.getEMail()))) && ((this.additionalInfo == null && other.getAdditionalInfo() == null) || (this.additionalInfo != null && this.additionalInfo.equals(other.getAdditionalInfo()))) && ((this.addressee == null && other.getAddressee() == null) || (this.addressee != null && this.addressee.equals(other.getAddressee()))) && ((this.adittionalInfo == null && other.getAdittionalInfo() == null) || (this.adittionalInfo != null && this.adittionalInfo.equals(other.getAdittionalInfo()))) && ((this.effectiveDate == null && other.getEffectiveDate() == null) || (this.effectiveDate != null && this.effectiveDate.equals(other.getEffectiveDate()))) && ((this.name == null && other.getName() == null) || (this.name != null && this.name.equals(other.getName()))) && ((this.numeroExpediente == null && other.getNumeroExpediente() == null) || (this.numeroExpediente != null && this.numeroExpediente.equals(other.getNumeroExpediente()))) && ((this.oficina == null && other.getOficina() == null) || (this.oficina != null && this.oficina.equals(other.getOficina()))) && ((this.registryDate == null && other.getRegistryDate() == null) || (this.registryDate != null && this.registryDate.equals(other.getRegistryDate()))) && ((this.registryNumber == null && other.getRegistryNumber() == null) || (this.registryNumber != null && this.registryNumber.equals(other.getRegistryNumber()))) && ((this.representedId == null && other.getRepresentedId() == null) || (this.representedId != null && this.representedId.equals(other.getRepresentedId()))) && ((this.representedName == null && other.getRepresentedName() == null) || (this.representedName != null && this.representedName.equals(other.getRepresentedName()))) && ((this.senderId == null && other.getSenderId() == null) || (this.senderId != null && this.senderId.equals(other.getSenderId()))) && ((this.senderIdType == null && other.getSenderIdType() == null) || (this.senderIdType != null && this.senderIdType.equals(other.getSenderIdType()))) && ((this.status == null && other.getStatus() == null) || (this.status != null && this.status.equals(other.getStatus()))) && ((this.topic == null && other.getTopic() == null) || (this.topic != null && this.topic.equals(other.getTopic()))); __equalsCalc = null; return _equals; }