class ByteConverter implements AtlasConverter<Byte> {

    @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.BOOLEAN,
            concerns = {AtlasConversionConcern.CONVENTION})
    public Boolean toBoolean(Byte value) {
        if (value == null) {
            return null;
        }
        return value.byteValue() != 0;
    }

}