Provided high-level classes for Export. Adapted Jaxb Export/Import to generic IO...
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / common / IExportConfigurator.java
1 /**
2 * Copyright (C) 2008 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 */
6
7 package eu.etaxonomy.cdm.io.common;
8
9 import eu.etaxonomy.cdm.api.application.CdmApplicationController;
10 import eu.etaxonomy.cdm.io.common.IImportConfigurator.CHECK;
11
12 /**
13 * @author a.babadshanjan
14 * @created 16.11.2008
15 */
16 public interface IExportConfigurator extends IIoConfigurator {
17
18 public static enum CHECK{
19 CHECK_ONLY,
20 EXPORT_WITHOUT_CHECK,
21 CHECK_AND_EXPORT,
22 }
23
24 public static enum DO_REFERENCES{
25 NONE,
26 NOMENCLATURAL,
27 CONCEPT_REFERENCES,
28 ALL
29 }
30
31 public abstract boolean isValid();
32
33 /**
34 * A String representation of the destination (e.g. CDM JAXB XML)
35 * @return
36 */
37 public abstract String getDestinationNameString();
38
39 public abstract CHECK getCheck();
40
41 public Class<ICdmIoExport>[] getIoClassList();
42
43 /**
44 * Returns a <code>CdmApplicationController</code> created by the values of this configuration.
45 * If a controller was already created before the last created controller is returned.
46 * @return
47 */
48 public CdmApplicationController getCdmAppController();
49 }