@Override
    public boolean equals(Object obj) {
        if (obj.getClass() != this.getClass())
            return false;
        else
            return (((AbstractPerson) obj).id == this.id) ? true : false;
    }