phone.removeProfiles();
    public void deletePhone(Phone phone) {        phone.setValueStorage(clearUnsavedValueStorage(phone.getValueStorage()));        Iterator i = phone.getLines().iterator();        while (i.hasNext()) {            Line line = (Line) i.next();            line.setValueStorage(clearUnsavedValueStorage(line.getValueStorage()));        }        getHibernateTemplate().delete(phone);    }