@Override public boolean equals(Object obj) { if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final Cliente other = (Cliente) obj; if (!Objects.equals(this.getIDCliente(), other.getIDCliente())) { return false; } if (!Objects.equals(this.getNomeCliente(), other.getNomeCliente())) { return false; } if (!Objects.equals(this.getRgCliente(), other.getRgCliente())) { return false; } if (!Objects.equals(this.getCpfCliente(), other.getCpfCliente())) { return false; } if (!Objects.equals(this.getGeneroCliente(), other.getGeneroCliente())) { return false; } if (!Objects.equals(this.getDataNascCliente(), other.getDataNascCliente())) { return false; } if (!Objects.equals(this.getEmailCliente(), other.getEmailCliente())) { return false; } if (!Objects.equals(this.getRegistroCliente(), other.getRegistroCliente())) { return false; } if (!Objects.equals(this.getCNHCliente(), other.getCNHCliente())) { return false; } if (!Objects.equals(this.getDataValidadeCNH(), other.getDataValidadeCNH())) { return false; } if (!Objects.equals(this.getTelCliente(), other.getTelCliente())) { return false; } if (!Objects.equals(this.getUfCliente(), other.getUfCliente())) { return false; } return true; }