Package org.apache.ofbiz.base.conversion
Class NumberConverters.IntegerToBigDecimal
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.AbstractConverter<java.lang.Integer,java.math.BigDecimal>
-
- org.apache.ofbiz.base.conversion.NumberConverters.IntegerToBigDecimal
-
- All Implemented Interfaces:
Converter<java.lang.Integer,java.math.BigDecimal>
,ConverterLoader
- Enclosing class:
- NumberConverters
public static class NumberConverters.IntegerToBigDecimal extends AbstractConverter<java.lang.Integer,java.math.BigDecimal>
-
-
Constructor Summary
Constructors Constructor Description IntegerToBigDecimal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigDecimal
convert(java.lang.Integer obj)
Convertsobj
toT
.-
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
-
-
-
-
Method Detail
-
convert
public java.math.BigDecimal convert(java.lang.Integer obj) throws ConversionException
Description copied from interface:Converter
Convertsobj
toT
.- Parameters:
obj
- The sourceObject
to convert- Returns:
- The converted
Object
- Throws:
ConversionException
-
-