src/main/java/net/balusc/util/ObjectConverter.java
public static Boolean integerToBoolean(Integer value) {
    return value.intValue() == 0 ? Boolean.FALSE : Boolean.TRUE;
  }
public static Boolean integerToBoolean(Integer value) {
    return value.intValue() == 0 ? Boolean.FALSE : Boolean.TRUE;
  }
Converts Integer to Boolean. If integer value is 0, then return FALSE, else
return TRUE.

@param value
The Integer to be converted.
@return The converted Boolean value.