public class DbImportMarkerMapper extends DbSingleAttributeImportMapperBase<DbImportStateBase<?,?>,AnnotatableEntity> implements IDbImportMapper<DbImportStateBase<?,?>,AnnotatableEntity>
destinationMethod, ignore, importMapperHelper, obligatory, targetClass
defaultValue
Modifier and Type | Method and Description |
---|---|
protected MarkerType |
getMarkerType(CdmImportBase<?,?> currentImport,
java.util.UUID uuid,
java.lang.String label,
java.lang.String text,
java.lang.String labelAbbrev) |
java.lang.Class<java.lang.Boolean> |
getTypeClass() |
void |
initialize(DbImportStateBase<?,?> state,
java.lang.Class<? extends CdmBase> destinationClass) |
boolean |
invoke(java.util.Map<java.lang.String,java.lang.Object> valueMap,
CdmBase cdmBase) |
AnnotatableEntity |
invoke(java.sql.ResultSet rs,
AnnotatableEntity annotatableEntity) |
static DbImportMarkerMapper |
NewInstance(java.lang.String dbAttributeString,
MarkerType markerType,
java.lang.Boolean ignoreValue) |
static DbImportMarkerMapper |
NewInstance(java.lang.String dbAttributeString,
java.util.UUID uuid,
java.lang.String label,
java.lang.String text,
java.lang.String labelAbbrev,
java.lang.Boolean ignoreValue) |
checkDbColumnExists, doInvoke, getDbColumnIntegerInfo, getDbValue, getState, getStringDbValue, getTableName, getTargetClass, getValue
getDestinationAttribute, getDestinationAttributeList, getDestinationAttributes, getSourceAttribute, getSourceAttributeList, getSourceAttributes
toString
public static DbImportMarkerMapper NewInstance(java.lang.String dbAttributeString, java.util.UUID uuid, java.lang.String label, java.lang.String text, java.lang.String labelAbbrev, java.lang.Boolean ignoreValue)
dbAttributeString
- uuid
- label
- text
- labelAbbrev
- public static DbImportMarkerMapper NewInstance(java.lang.String dbAttributeString, MarkerType markerType, java.lang.Boolean ignoreValue)
public void initialize(DbImportStateBase<?,?> state, java.lang.Class<? extends CdmBase> destinationClass)
initialize
in interface IDbImportMapper<DbImportStateBase<?,?>,AnnotatableEntity>
initialize
in class DbSingleAttributeImportMapperBase<DbImportStateBase<?,?>,AnnotatableEntity>
public boolean invoke(java.util.Map<java.lang.String,java.lang.Object> valueMap, CdmBase cdmBase)
public AnnotatableEntity invoke(java.sql.ResultSet rs, AnnotatableEntity annotatableEntity) throws java.sql.SQLException
invoke
in interface IDbImportMapper<DbImportStateBase<?,?>,AnnotatableEntity>
invoke
in class DbSingleAttributeImportMapperBase<DbImportStateBase<?,?>,AnnotatableEntity>
java.sql.SQLException
protected MarkerType getMarkerType(CdmImportBase<?,?> currentImport, java.util.UUID uuid, java.lang.String label, java.lang.String text, java.lang.String labelAbbrev)
currentImport
- uuid
- label
- text
- labelAbbrev
- public java.lang.Class<java.lang.Boolean> getTypeClass()
getTypeClass
in class CdmSingleAttributeMapperBase
Copyright © 2007-2020 EDIT. All Rights Reserved.