Package org.apache.ofbiz.base.conversion
Class BooleanConverters.IntegerToBoolean
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.AbstractConverter<java.lang.Integer,java.lang.Boolean>
-
- org.apache.ofbiz.base.conversion.BooleanConverters.IntegerToBoolean
-
- All Implemented Interfaces:
Converter<java.lang.Integer,java.lang.Boolean>
,ConverterLoader
- Enclosing class:
- BooleanConverters
public static class BooleanConverters.IntegerToBoolean extends AbstractConverter<java.lang.Integer,java.lang.Boolean>
-
-
Constructor Summary
Constructors Constructor Description IntegerToBoolean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
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.lang.Boolean 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
-
-