eu.etaxonomy.cdm.io.common.mapping
Class DbImportObjectMapper

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.DbSingleAttributeImportMapperBase<DbImportStateBase<?,?>,CdmBase>
                  extended by eu.etaxonomy.cdm.io.common.mapping.DbImportObjectMapper
All Implemented Interfaces:
IDbImportMapper<DbImportStateBase<?,?>,CdmBase>

public class DbImportObjectMapper
extends DbSingleAttributeImportMapperBase<DbImportStateBase<?,?>,CdmBase>

Version:
1.0
Author:
a.mueller

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.io.common.mapping.DbSingleAttributeImportMapperBase
destinationMethod, ignore, importMapperHelper, obligatory, targetClass
 
Fields inherited from class eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
defaultValue
 
Constructor Summary
protected DbImportObjectMapper(String dbAttributString, String cdmAttributeString, String relatedObjectNamespace)
           
 
Method Summary
 Class getTypeClass()
           
protected  Object getValue(ResultSet rs)
           
static DbImportObjectMapper NewInstance(String dbAttributString, String cdmAttributeString, String relatedObjectNamespace)
           
 
Methods inherited from class eu.etaxonomy.cdm.io.common.mapping.DbSingleAttributeImportMapperBase
checkDbColumnExists, doInvoke, getDbColumnIntegerInfo, getDbValue, getState, getStringDbValue, getTableName, getTargetClass, initialize, invoke
 
Methods inherited from class eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
getDestinationAttribute, getDestinationAttributeList, getDestinationAttributes, getSourceAttribute, getSourceAttributeList, getSourceAttributes
 
Methods inherited from class eu.etaxonomy.cdm.io.common.mapping.CdmAttributeMapperBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DbImportObjectMapper

protected DbImportObjectMapper(String dbAttributString,
                               String cdmAttributeString,
                               String relatedObjectNamespace)
Parameters:
dbAttributString -
cdmAttributeString -
Method Detail

NewInstance

public static DbImportObjectMapper NewInstance(String dbAttributString,
                                               String cdmAttributeString,
                                               String relatedObjectNamespace)

getValue

protected Object getValue(ResultSet rs)
                   throws SQLException
Overrides:
getValue in class DbSingleAttributeImportMapperBase<DbImportStateBase<?,?>,CdmBase>
Throws:
SQLException

getTypeClass

public Class getTypeClass()
Specified by:
getTypeClass in class CdmSingleAttributeMapperBase


Copyright © 2007-2013 EDIT. All Rights Reserved.