eu.etaxonomy.cdm.io.common.mapping
Class DbImportMultiAttributeMapperBase<CDMBASE extends CdmBase,STATE extends DbImportStateBase<?,?>>
java.lang.Object
eu.etaxonomy.cdm.io.common.mapping.CdmMapperBase
eu.etaxonomy.cdm.io.common.mapping.CdmAttributeMapperBase
eu.etaxonomy.cdm.io.common.mapping.MultipleAttributeMapperBase<CdmSingleAttributeMapperBase>
eu.etaxonomy.cdm.io.common.mapping.DbImportMultiAttributeMapperBase<CDMBASE,STATE>
- All Implemented Interfaces:
- IDbImportMapper<STATE,CDMBASE>
- Direct Known Subclasses:
- DbImportMediaMapper, DbImportMethodMapper, DbImportMultiLanguageTextMapper, DbImportNameTypeDesignationMapper, DbImportObjectCreationMapperBase, DbImportSynonymMapper, DbImportTaxIncludedInMapper
public abstract class DbImportMultiAttributeMapperBase<CDMBASE extends CdmBase,STATE extends DbImportStateBase<?,?>>
- extends MultipleAttributeMapperBase<CdmSingleAttributeMapperBase>
- implements IDbImportMapper<STATE,CDMBASE>
- Version:
- 1.0
- Author:
- a.mueller
importMapperHelper
protected DbImportMapperBase<STATE extends DbImportStateBase<?,?>> importMapperHelper
DbImportMultiAttributeMapperBase
public DbImportMultiAttributeMapperBase()
initialize
public void initialize(STATE state,
Class<? extends CdmBase> destinationClass)
- Specified by:
initialize in interface IDbImportMapper<STATE extends DbImportStateBase<?,?>,CDMBASE extends CdmBase>
getState
protected STATE getState()
getRelatedObject
protected CdmBase getRelatedObject(String namespace,
String foreignKey)
- Retrieves a related object from the state's related object map. Needs casting.
- Parameters:
namespace - foreignKey -
- Returns:
getRelatedObject
protected CdmBase getRelatedObject(ResultSet rs,
String namespace,
String fkAttribute)
throws SQLException
- Retrieves a related object from the state's related object map. Needs casting.
- Parameters:
namespace - foreignKey -
- Returns:
-
- Throws:
SQLException
getForeignKey
protected String getForeignKey(ResultSet rs,
String fkAttribute)
throws SQLException
- Parameters:
rs - dbReferenceFkAttribute2 -
- Returns:
-
- Throws:
SQLException
Copyright © 2007-2013 EDIT. All Rights Reserved.