public abstract class DbImportObjectCreationMapperBase<CREATE extends VersionableEntity,STATE extends DbImportStateBase<?,?>> extends DbImportMultiAttributeMapperBase<CREATE,STATE>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
dbIdAttribute |
protected java.lang.String |
objectToCreateNamespace |
importMapperHelper
singleMappers
Modifier | Constructor and Description |
---|---|
protected |
DbImportObjectCreationMapperBase(java.lang.String dbIdAttribute,
java.lang.String objectToCreateNamespace) |
Modifier and Type | Method and Description |
---|---|
void |
addOriginalSource(java.sql.ResultSet rs,
CREATE cdmBase)
TODO also implemented in CdmImportBase (reduce redundance)
|
protected abstract CREATE |
createObject(java.sql.ResultSet rs)
This method creates the object to be created.
|
protected abstract CREATE |
doInvoke(java.sql.ResultSet rs,
CREATE createdObject) |
protected IInputTransformer |
getTransformer()
Returns the transformer from the configuration
|
CREATE |
invoke(java.sql.ResultSet rs,
CREATE noObject) |
getForeignKey, getRelatedObject, getRelatedObject, getState, initialize
getDestinationAttributeList, getDestinationAttributes, getSourceAttributeList, getSourceAttributes, getStringDbValue
toString
protected java.lang.String dbIdAttribute
protected java.lang.String objectToCreateNamespace
protected DbImportObjectCreationMapperBase(java.lang.String dbIdAttribute, java.lang.String objectToCreateNamespace)
public CREATE invoke(java.sql.ResultSet rs, CREATE noObject) throws java.sql.SQLException
java.sql.SQLException
protected abstract CREATE doInvoke(java.sql.ResultSet rs, CREATE createdObject) throws java.sql.SQLException
java.sql.SQLException
protected abstract CREATE createObject(java.sql.ResultSet rs) throws java.sql.SQLException
rs
- The result setjava.sql.SQLException
public void addOriginalSource(java.sql.ResultSet rs, CREATE cdmBase) throws java.sql.SQLException
java.sql.SQLException
protected IInputTransformer getTransformer()
Copyright © 2007-2020 EDIT. All Rights Reserved.