public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; EEABVolumeSaida other = (EEABVolumeSaida) obj; if (codigo == null) { if (other.codigo != null) return false; } else if (!codigo.equals(other.codigo)) return false; if (eeabVolume == null) { if (other.eeabVolume != null) return false; } else if (!eeabVolume.equals(other.eeabVolume)) return false; if (medidorSaida == null) { if (other.medidorSaida != null) return false; } else if (!medidorSaida.equals(other.medidorSaida)) return false; if (tipomedicao == null) { if (other.tipomedicao != null) return false; } else if (!tipomedicao.equals(other.tipomedicao)) return false; if (valorMedicaoSaida == null) { if (other.valorMedicaoSaida != null) return false; } else if (!valorMedicaoSaida.equals(other.valorMedicaoSaida)) return false; if (valorMedicaoSaidaAux == null) { if (other.valorMedicaoSaidaAux != null) return false; } else if (!valorMedicaoSaidaAux.equals(other.valorMedicaoSaidaAux)) return false; return true; }