eu.etaxonomy.cdm.io.berlinModel.out.mapper
Class DbIntegerAnnotationMapper

java.lang.Object
  extended by eu.etaxonomy.cdm.io.common.mapping.CdmAttributeMapperBase
      extended by eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
          extended by eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbSingleAttributeExportMapperBase<DbExportStateBase<?>>
              extended by eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbAnnotationMapper
                  extended by eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbIntegerAnnotationMapper
All Implemented Interfaces:
IDbExportMapper<DbExportStateBase<?>>

public class DbIntegerAnnotationMapper
extends DbAnnotationMapper

Version:
1.0
Author:
a.mueller

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbSingleAttributeExportMapperBase
obligatory
 
Fields inherited from class eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
defaultValue
 
Method Summary
protected  int getSqlType()
           
 Class<?> getTypeClass()
           
protected  Object getValue(CdmBase cdmBase)
           
static DbIntegerAnnotationMapper NewInstance(String annotationPrefix, String dbAttributeString)
           
static DbIntegerAnnotationMapper NewInstance(String annotationPrefix, String dbAttributeString, Integer defaultValue)
           
 
Methods inherited from class eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbAnnotationMapper
NewInstance
 
Methods inherited from class eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbSingleAttributeExportMapperBase
checkSqlServerColumnExists, doInvoke, getDbColumnIntegerInfo, getIndex, getPrecision, getPreparedStatement, getState, getTableName, initialize, invoke, toString
 
Methods inherited from class eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
getDestinationAttribute, getDestinationAttributeList, getDestinationAttributes, getSourceAttribute, getSourceAttributeList, getSourceAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface eu.etaxonomy.cdm.io.berlinModel.out.mapper.IDbExportMapper
initialize, invoke
 

Method Detail

NewInstance

public static DbIntegerAnnotationMapper NewInstance(String annotationPrefix,
                                                    String dbAttributeString)

NewInstance

public static DbIntegerAnnotationMapper NewInstance(String annotationPrefix,
                                                    String dbAttributeString,
                                                    Integer defaultValue)

getValue

protected Object getValue(CdmBase cdmBase)
Overrides:
getValue in class DbAnnotationMapper

getSqlType

protected int getSqlType()
Overrides:
getSqlType in class DbAnnotationMapper

getTypeClass

public Class<?> getTypeClass()
Overrides:
getTypeClass in class DbAnnotationMapper


Copyright © 2007-2011 EDIT. All Rights Reserved.