major refactoring in io-layer (config -> state)
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / common / IIoConfigurator.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
11 /**
12 * @author a.babadshanjan
13 * @created 13.11.2008
14 */
15 public interface IIoConfigurator {
16
17 /**
18 * A String representation of the used source may it be a source to be imported (e.g. "BerlinModel Cichorieae Database")
19 * or a source to be exported (e.g. "CDM Cichorieae Database")
20 * @return String representing the source for the io
21 */
22 public String getSourceNameString();
23
24
25 /**
26 * A String representation of the destination may it be an import destination and therefore a CDM (e.g. CDM Cichorieae Database)
27 * or an export destination (e.g. CDM XML)
28 * @return
29 */
30 public String getDestinationNameString();
31
32
33 /**
34 * Returns the CdmApplicationController
35 * @return
36 */
37 public CdmApplicationController getCdmAppController();
38
39
40 /**
41 * Sets the CdmApplicationController
42 * @param cdmApp the cdmApp to set
43 */
44 public void setCdmAppController(CdmApplicationController cdmApp);
45
46 }