@Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Bibliografiacomplementar)) {
            return false;
        }
        Bibliografiacomplementar other = (Bibliografiacomplementar) object;
        if ((this.idBibliografiaComplementar == null && other.idBibliografiaComplementar != null) || (this.idBibliografiaComplementar != null && !this.idBibliografiaComplementar.equals(other.idBibliografiaComplementar))) {
            return false;
        }
        return true;
    }