import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
import eu.etaxonomy.cdm.model.common.Language;
import eu.etaxonomy.cdm.model.common.LanguageString;
-import eu.etaxonomy.cdm.model.description.DescriptionElementSource;
import eu.etaxonomy.cdm.model.metadata.CdmPreference;
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate;
import eu.etaxonomy.cdm.model.metadata.PublishEnum;
import eu.etaxonomy.cdm.model.name.TaxonName;
+import eu.etaxonomy.cdm.model.reference.NamedSource;
import eu.etaxonomy.cdm.model.reference.Reference;
import eu.etaxonomy.cdm.model.taxon.Classification;
import eu.etaxonomy.cdm.model.taxon.Taxon;
multiLanguageTextStatusNotes.setIndent(10);
singleSourceSection = formFactory.createOriginalSourceElement(formElement, entity, "");
if (isCreateNew() || entity.getSource() == null){
- DescriptionElementSource source = DescriptionElementSource.NewPrimarySourceInstance(null, null);
+ NamedSource source = NamedSource.NewPrimarySourceInstance(null, null);
entity.setSource(source);
singleSourceSection.setEntity(source);
}else{