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

java.lang.Object
  extended by eu.etaxonomy.cdm.io.common.mapping.CdmMapperBase
      extended by eu.etaxonomy.cdm.io.common.mapping.CdmAttributeMapperBase
          extended by eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
              extended by eu.etaxonomy.cdm.io.common.mapping.out.DbSingleAttributeExportMapperBase<BerlinModelExportState>
                  extended by eu.etaxonomy.cdm.io.berlinModel.out.mapper.FactCategoryMapper
All Implemented Interfaces:
IDbExportMapper<BerlinModelExportState,IExportTransformer>

public class FactCategoryMapper
extends DbSingleAttributeExportMapperBase<BerlinModelExportState>
implements IDbExportMapper<BerlinModelExportState,IExportTransformer>

Version:
1.0
Author:
a.mueller

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.io.common.mapping.out.DbSingleAttributeExportMapperBase
exportMapperHelper, obligatory
 
Fields inherited from class eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
defaultValue
 
Method Summary
protected  Integer getId(CdmBase cdmBase)
           
protected  int getSqlType()
           
 Class<?> getTypeClass()
           
protected  Object getValue(CdmBase cdmBase)
           
 void initialize(PreparedStatement stmt, IndexCounter index, BerlinModelExportState state, String tableName)
           
 Object invoke(CdmBase cdmBase, boolean xxx)
           
protected  Integer makeRow(Feature feature)
           
static FactCategoryMapper NewInstance(String cdmAttributeString, String dbAttributeString)
           
 
Methods inherited from class eu.etaxonomy.cdm.io.common.mapping.out.DbSingleAttributeExportMapperBase
checkSqlServerColumnExists, doInvoke, getDbColumnIntegerInfo, getIndex, getPrecision, getPreparedStatement, getState, getTableName, 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.common.mapping.out.IDbExportMapper
invoke
 

Method Detail

NewInstance

public static FactCategoryMapper NewInstance(String cdmAttributeString,
                                             String dbAttributeString)

initialize

public void initialize(PreparedStatement stmt,
                       IndexCounter index,
                       BerlinModelExportState state,
                       String tableName)
Specified by:
initialize in interface IDbExportMapper<BerlinModelExportState,IExportTransformer>
Overrides:
initialize in class DbSingleAttributeExportMapperBase<BerlinModelExportState>

invoke

public Object invoke(CdmBase cdmBase,
                     boolean xxx)

getValue

protected Object getValue(CdmBase cdmBase)
Overrides:
getValue in class DbSingleAttributeExportMapperBase<BerlinModelExportState>

makeRow

protected Integer makeRow(Feature feature)

getId

protected Integer getId(CdmBase cdmBase)

getSqlType

protected int getSqlType()
Specified by:
getSqlType in class DbSingleAttributeExportMapperBase<BerlinModelExportState>

getTypeClass

public Class<?> getTypeClass()
Specified by:
getTypeClass in class CdmSingleAttributeMapperBase


Copyright © 2007-2013 EDIT. All Rights Reserved.