(no commit message)
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / description / detail / AbstractDetailedDescriptionDetailElement.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10
11 package eu.etaxonomy.taxeditor.ui.section.description.detail;
12
13 import org.apache.log4j.Logger;
14
15 import eu.etaxonomy.cdm.model.description.DescriptionElementBase;
16 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
17 import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
18 import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
19
20 /**
21 * <p>Abstract AbstractDetailedDescriptionDetailElement class.</p>
22 *
23 * @author n.hoffmann
24 * @created Jun 10, 2010
25 * @version 1.0
26 */
27 public abstract class AbstractDetailedDescriptionDetailElement<T extends DescriptionElementBase> extends AbstractCdmDetailElement<T>{
28
29 private static final Logger logger = Logger
30 .getLogger(AbstractDetailedDescriptionDetailElement.class);
31
32 /**
33 * <p>Constructor for AbstractDetailedDescriptionDetailElement.</p>
34 *
35 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
36 * @param formElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
37 * @param entity a T object.
38 * @param style a int.
39 * @param <T> a T object.
40 */
41 public AbstractDetailedDescriptionDetailElement(CdmFormFactory formFactory,
42 ICdmFormElement formElement, T entity, int style) {
43 super(formFactory, formElement);
44 setEntity(entity);
45 }
46 }