* The contents of this file are subject to the Mozilla Public License Version 1.1\r
* See LICENSE.TXT at the top of this package for the full license terms.\r
*/\r
-\r
package eu.etaxonomy.cdm.io.berlinModel.out;\r
\r
-import org.apache.log4j.Logger;\r
+import org.apache.logging.log4j.LogManager;\r
+import org.apache.logging.log4j.Logger;\r
\r
import eu.etaxonomy.cdm.database.ICdmDataSource;\r
import eu.etaxonomy.cdm.io.common.DbExportConfiguratorBase;\r
private static final long serialVersionUID = -2346209092417359348L;\r
\r
@SuppressWarnings("unused")\r
- private static Logger logger = Logger.getLogger(BerlinModelExportConfigurator.class);\r
+ private static final Logger logger = LogManager.getLogger();\r
\r
// TODO\r
private static IExportTransformer defaultTransformer = null;\r
\r
+ //im-/export uses Classification for is_taxonomically_included_in relationships\r
+ private boolean useClassification = true;\r
\r
//ID for the isHomotypic relationship in RelName, if not exist null\r
private Integer isHomotypicId = null;\r
, BerlinModelFactExport.class\r
// , BerlinModelOccurrenceImport.class\r
};\r
-\r
}\r
\r
- /**\r
- * @param berlinModelSource\r
- * @param sourceReference\r
- * @param destination\r
- */\r
private BerlinModelExportConfigurator(Source destination, ICdmDataSource cdmSource) {\r
super(defaultTransformer);\r
setSource(cdmSource);\r
this.isHomotypicId = isHomotypicId;\r
}\r
\r
- /* (non-Javadoc)\r
- * @see eu.etaxonomy.cdm.io.common.IExportConfigurator#getNewState()\r
- */\r
@Override\r
public BerlinModelExportState getNewState() {\r
return new BerlinModelExportState(this);\r
}\r
\r
-\r
/**\r
* Import name relationships yes/no?.\r
* @return\r
this.doRelTaxa = doRelTaxa;\r
}\r
\r
-\r
-\r
-\r
-\r
-}\r
+ public boolean isUseClassification() {\r
+ return useClassification;\r
+ }\r
+ public void setUseClassification(boolean useClassification) {\r
+ this.useClassification = useClassification;\r
+ }\r
+}
\ No newline at end of file