import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
-import eu.etaxonomy.cdm.model.name.NonViralName;
+import eu.etaxonomy.cdm.model.name.INonViralName;
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
import eu.etaxonomy.cdm.strategy.parser.ParserProblem;
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
*
* @author n.hoffmann
* @created Mar 3, 2010
- * @version 1.0
*/
-public class ParsingMessagesSection extends AbstractCdmDetailSection<NonViralName> implements ITaxonBaseDetailSection {
+public class ParsingMessagesSection
+ extends AbstractCdmDetailSection<INonViralName>
+ implements ITaxonBaseDetailSection {
/** Constant <code>HEADING_SUCCESS=""</code> */
public static final String HEADING_SUCCESS = "";
@Override
public void setTaxonBase(TaxonBase entity) {
this.taxonBase = entity;
- setEntity((NonViralName) HibernateProxyHelper.deproxy(entity.getName()));
+ setEntity(HibernateProxyHelper.deproxy(entity.getName()));
destroyParsingProblemComposites();
if(getEntity().hasProblem()){
displayParsingProblems();
return HEADING_SUCCESS;
}
- /* (non-Javadoc)
- * @see eu.etaxonomy.taxeditor.section.ITaxonDetailSection#getTaxon(eu.etaxonomy.cdm.model.taxon.TaxonBase)
- */
@Override
public TaxonBase getTaxonBase() {
return taxonBase;
}
- /* (non-Javadoc)
- * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
- */
@Override
- protected AbstractCdmDetailElement<NonViralName> createCdmDetailElement(AbstractCdmDetailSection<NonViralName> parentElement, int style) {
+ protected AbstractCdmDetailElement<INonViralName> createCdmDetailElement(
+ AbstractCdmDetailSection<INonViralName> parentElement, int style) {
//no detail element
return null;
}