company.setSector(null);
}
if(form.getLegalFormId() > 0) {
if(isEntityChanged(form.getLegalFormId(), company.getLegalForm()))
company.setLegalForm(new LegalFormDAO().getById(form.getLegalFormId()));
} else {
company.setLegalForm(null);
}
if(form.getCompanyTypeId() > 0) {