public Binding<Boolean> inbound(Binding<String> fromBinding) {
        Binding<Boolean> toBinding = new Binding<Boolean>(Boolean.class, null);
        if (fromBinding == null || fromBinding.getObj() == null) {
            return toBinding;
        }
        String fromStr = fromBinding.getObj().toString();
        if (fromStr.length() == 0) {
            return toBinding;
        }
        char fromChar = fromStr.charAt(0);
        if (Character.toUpperCase(fromChar) == 'Y') {
            toBinding.setObj(Boolean.TRUE);
        } else if (Character.toUpperCase(fromChar) == 'N') {
            toBinding.setObj(Boolean.FALSE);
        }
        return toBinding;
    }