public abstract class DbImportMultiAttributeMapperBase<CDMBASE extends CdmBase,STATE extends DbImportStateBase<?,?>> extends MultipleAttributeMapperBase<CdmSingleAttributeMapperBase> implements IDbImportMapper<STATE,CDMBASE>
Modifier and Type | Field and Description |
---|---|
protected DbImportMapperBase<STATE> |
importMapperHelper |
singleMappers
Constructor and Description |
---|
DbImportMultiAttributeMapperBase() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getForeignKey(java.sql.ResultSet rs,
java.lang.String fkAttribute) |
protected CdmBase |
getRelatedObject(java.sql.ResultSet rs,
java.lang.String namespace,
java.lang.String fkAttribute)
Retrieves a related object from the state's related object map.
|
protected CdmBase |
getRelatedObject(java.lang.String namespace,
java.lang.String foreignKey)
Retrieves a related object from the state's related object map.
|
protected STATE |
getState() |
void |
initialize(STATE state,
java.lang.Class<? extends CdmBase> destinationClass) |
getDestinationAttributeList, getDestinationAttributes, getSourceAttributeList, getSourceAttributes, getStringDbValue
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
invoke
protected DbImportMapperBase<STATE extends DbImportStateBase<?,?>> importMapperHelper
public void initialize(STATE state, java.lang.Class<? extends CdmBase> destinationClass)
initialize
in interface IDbImportMapper<STATE extends DbImportStateBase<?,?>,CDMBASE extends CdmBase>
protected STATE getState()
protected CdmBase getRelatedObject(java.lang.String namespace, java.lang.String foreignKey)
namespace
- foreignKey
- protected CdmBase getRelatedObject(java.sql.ResultSet rs, java.lang.String namespace, java.lang.String fkAttribute) throws java.sql.SQLException
java.sql.SQLException
protected java.lang.String getForeignKey(java.sql.ResultSet rs, java.lang.String fkAttribute) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2007-2020 EDIT. All Rights Reserved.