class BooleanConverter implements AtlasConverter<Boolean> {

    @AtlasConversionInfo(sourceType = FieldType.BOOLEAN, targetType = FieldType.CHAR)
    public Character toCharacter(Boolean value) {
        return value != null ? (char) (value ? 1 : 0) : null;
    }

}