public class DbConstantMapper extends DbSingleAttributeExportMapperBase<DbExportStateBase<?,IExportTransformer>>
DbFixedIntegerMapper
and DbFixedStringMapper
.exportMapperHelper, notNull, obligatory
defaultValue
Modifier | Constructor and Description |
---|---|
protected |
DbConstantMapper(java.lang.String dbAttributeString,
int sqlType,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
protected int |
getSqlType() |
java.lang.Class<?> |
getTypeClass() |
protected java.lang.Object |
getValue(CdmBase cdmBase) |
static DbConstantMapper |
NewInstance(java.lang.String dbIdAttributeString,
int sqlType,
java.lang.Object value) |
checkSqlServerColumnExists, doInvoke, getDbColumnIntegerInfo, getIndex, getPrecision, getPreparedStatement, getState, getTableName, initialize, invoke, toString
getDestinationAttribute, getDestinationAttributeList, getDestinationAttributes, getSourceAttribute, getSourceAttributeList, getSourceAttributes
protected DbConstantMapper(java.lang.String dbAttributeString, int sqlType, java.lang.Object value)
public static DbConstantMapper NewInstance(java.lang.String dbIdAttributeString, int sqlType, java.lang.Object value)
public java.lang.Class<?> getTypeClass()
getTypeClass
in class CdmSingleAttributeMapperBase
protected java.lang.Object getValue(CdmBase cdmBase)
getValue
in class DbSingleAttributeExportMapperBase<DbExportStateBase<?,IExportTransformer>>
protected int getSqlType()
getSqlType
in class DbSingleAttributeExportMapperBase<DbExportStateBase<?,IExportTransformer>>
Copyright © 2007-2020 EDIT. All Rights Reserved.