public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof Estado)) return false; Estado other = (Estado) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && this.idEstado == other.getIdEstado() && ((this.nombreEstado == null && other.getNombreEstado() == null) || (this.nombreEstado != null && this.nombreEstado.equals(other.getNombreEstado()))); __equalsCalc = null; return _equals; }