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

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<DbExportStateBase<?,IExportTransformer>>
                  extended by eu.etaxonomy.cdm.io.common.mapping.out.DbObjectMapper
                      extended by eu.etaxonomy.cdm.io.berlinModel.out.mapper.TeamOrPersonMapper
All Implemented Interfaces:
IDbExportMapper<DbExportStateBase<?,IExportTransformer>,IExportTransformer>

public class TeamOrPersonMapper
extends DbObjectMapper

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
 
Constructor Summary
protected TeamOrPersonMapper(String cdmAttributeString, String dbAttributeString, Object defaultValue)
           
 
Method Summary
protected  boolean doInvoke(CdmBase cdmBase)
           
protected  Object getValue(CdmBase cdmBase)
           
 void initialize(PreparedStatement stmt, IndexCounter index, DbExportStateBase<?,IExportTransformer> state, String tableName)
           
static TeamOrPersonMapper NewInstance(String cdmAttributeString, String dbAttributeString)
           
 
Methods inherited from class eu.etaxonomy.cdm.io.common.mapping.out.DbObjectMapper
getId, getSqlType, getTypeClass, NewInstance
 
Methods inherited from class eu.etaxonomy.cdm.io.common.mapping.out.DbSingleAttributeExportMapperBase
checkSqlServerColumnExists, 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
 

Constructor Detail

TeamOrPersonMapper

protected TeamOrPersonMapper(String cdmAttributeString,
                             String dbAttributeString,
                             Object defaultValue)
Method Detail

NewInstance

public static TeamOrPersonMapper NewInstance(String cdmAttributeString,
                                             String dbAttributeString)

doInvoke

protected boolean doInvoke(CdmBase cdmBase)
                    throws SQLException
Overrides:
doInvoke in class DbSingleAttributeExportMapperBase<DbExportStateBase<?,IExportTransformer>>
Throws:
SQLException

getValue

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

initialize

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


Copyright © 2007-2013 EDIT. All Rights Reserved.