@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 Person)) {
            return false;
        }
        Person other = (Person) object;
        if ((this.cedule == null && other.cedule != null) || (this.cedule != null && !this.cedule.equals(other.cedule))) {
            return false;
        }
        return true;
    }