eu.etaxonomy.cdm.io.berlinModel.out.mapper
Class DbAnnotationMapper
java.lang.Object
eu.etaxonomy.cdm.io.common.mapping.CdmAttributeMapperBase
eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbSingleAttributeExportMapperBase<DbExportStateBase<?>>
eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbAnnotationMapper
- All Implemented Interfaces:
- IDbExportMapper<DbExportStateBase<?>>
- Direct Known Subclasses:
- DbIntegerAnnotationMapper
public class DbAnnotationMapper
- extends DbSingleAttributeExportMapperBase<DbExportStateBase<?>>
- implements IDbExportMapper<DbExportStateBase<?>>
- Version:
- 1.0
- Author:
- a.mueller
Methods inherited from class eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbSingleAttributeExportMapperBase |
checkSqlServerColumnExists, doInvoke, getDbColumnIntegerInfo, getIndex, getPrecision, getPreparedStatement, getState, getTableName, initialize, invoke, toString |
DbAnnotationMapper
protected DbAnnotationMapper(String annotationPrefix,
String dbAttributeString,
Object defaultValue)
- Parameters:
dbAttributeString
- cdmAttributeString
-
NewInstance
public static DbAnnotationMapper NewInstance(String annotationPrefix,
String dbAttributeString)
NewInstance
public static DbAnnotationMapper NewInstance(String annotationPrefix,
String dbAttributeString,
String defaultValue)
getValue
protected Object getValue(CdmBase cdmBase)
- Overrides:
getValue
in class DbSingleAttributeExportMapperBase<DbExportStateBase<?>>
getSqlType
protected int getSqlType()
- Specified by:
getSqlType
in class DbSingleAttributeExportMapperBase<DbExportStateBase<?>>
getTypeClass
public Class<?> getTypeClass()
- Specified by:
getTypeClass
in class CdmSingleAttributeMapperBase
Copyright © 2007-2011 EDIT. All Rights Reserved.