Revision f905a388
Added by Andreas Müller over 1 year ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/mapping/berlinModel/CdmStringMapper.java | ||
---|---|---|
1 |
/** |
|
2 |
* Copyright (C) 2007 EDIT |
|
3 |
* European Distributed Institute of Taxonomy |
|
4 |
* http://www.e-taxonomy.eu |
|
5 |
* |
|
6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
8 |
*/ |
|
9 |
|
|
10 |
package eu.etaxonomy.cdm.io.common.mapping.berlinModel; |
|
11 |
|
|
12 |
import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger; |
|
13 |
|
|
14 |
import eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase; |
|
15 |
|
|
16 |
/** |
|
17 |
* @author a.mueller |
|
18 |
* @since 20.03.2008 |
|
19 |
* @version 1.0 |
|
20 |
*/ |
|
21 |
public class CdmStringMapper extends CdmSingleAttributeMapperBase { |
|
22 |
@SuppressWarnings("unused") |
|
23 |
private static Logger logger = LogManager.getLogger(CdmStringMapper.class); |
|
24 |
|
|
25 |
/** |
|
26 |
* @param dbValue |
|
27 |
* @param cdmValue |
|
28 |
*/ |
|
29 |
public CdmStringMapper(String dbAttributeString, String cdmAttributeString) { |
|
30 |
super(dbAttributeString, cdmAttributeString); |
|
31 |
} |
|
32 |
|
|
33 |
public Class<String> getTypeClass(){ |
|
34 |
return String.class; |
|
35 |
} |
|
36 |
|
|
37 |
} |
|
1 |
/** |
|
2 |
* Copyright (C) 2007 EDIT |
|
3 |
* European Distributed Institute of Taxonomy |
|
4 |
* http://www.e-taxonomy.eu |
|
5 |
* |
|
6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
8 |
*/ |
|
9 |
|
|
10 |
package eu.etaxonomy.cdm.io.common.mapping.berlinModel; |
|
11 |
|
|
12 |
import org.apache.logging.log4j.LogManager; |
|
13 |
import org.apache.logging.log4j.Logger; |
|
14 |
|
|
15 |
import eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase; |
|
16 |
|
|
17 |
/** |
|
18 |
* @author a.mueller |
|
19 |
* @since 20.03.2008 |
|
20 |
*/ |
|
21 |
public class CdmStringMapper extends CdmSingleAttributeMapperBase { |
|
22 |
|
|
23 |
@SuppressWarnings("unused") |
|
24 |
private static Logger logger = LogManager.getLogger(); |
|
25 |
|
|
26 |
public CdmStringMapper(String dbAttributeString, String cdmAttributeString) { |
|
27 |
super(dbAttributeString, cdmAttributeString); |
|
28 |
} |
|
29 |
|
|
30 |
@Override |
|
31 |
public Class<String> getTypeClass(){ |
|
32 |
return String.class; |
|
33 |
} |
|
34 |
} |
Also available in: Unified diff
cleanup