Class BigDecimalToLongColumnDataMapper
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.mapping.BigDecimalToLongColumnDataMapper
-
- All Implemented Interfaces:
ColumnDataMapper
public class BigDecimalToLongColumnDataMapper extends Object implements ColumnDataMapper
Map BigDecimal to Long/Bigint© 2013 akquinet tech@spree
- Author:
- M. Dahm
-
-
Constructor Summary
Constructors Constructor Description BigDecimalToLongColumnDataMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isApplicable(ColumnMetaData sourceColumnMetaData, ColumnMetaData targetColumnMetaData)
Mapper can be used for the given columns?Object
map(ColumnMetaData sourceColumnMetaData, ColumnMetaData targetColumnMetaData, Object value)
Map object.
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(ColumnMetaData sourceColumnMetaData, ColumnMetaData targetColumnMetaData)
Description copied from interface:ColumnDataMapper
Mapper can be used for the given columns?- Specified by:
isApplicable
in interfaceColumnDataMapper
-
map
public Object map(ColumnMetaData sourceColumnMetaData, ColumnMetaData targetColumnMetaData, Object value)
Description copied from interface:ColumnDataMapper
Map object. Must be able to handle NULL values.- Specified by:
map
in interfaceColumnDataMapper
-
-