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