protected static DAFFieldType getFieldType(String fieldType) {
        DAFFieldType dafFieldType = DAFFieldType.STRING;
        fieldType = getNotNullValue(fieldType).toLowerCase();
        if (fieldType.equals(DAFFieldType_BOOLEAN.toLowerCase())) {
            dafFieldType = DAFFieldType.BOOLEAN;
        } else if (fieldType.equals(DAFFieldType_BYTE.toLowerCase())) {
            dafFieldType = DAFFieldType.BYTE;
        } else if (fieldType.equals(DAFFieldType_CHAR.toLowerCase())) {
            dafFieldType = DAFFieldType.CHAR;
        } else if (fieldType.equals(DAFFieldType_DATE.toLowerCase())) {
            dafFieldType = DAFFieldType.DATE;
        } else if (fieldType.equals(DAFFieldType_DOUBLE.toLowerCase())) {
            dafFieldType = DAFFieldType.DOUBLE;
        } else if (fieldType.equals(DAFFieldType_FLOAT.toLowerCase())) {
            dafFieldType = DAFFieldType.FLOAT;
        } else if (fieldType.equals(DAFFieldType_INT.toLowerCase())) {
            dafFieldType = DAFFieldType.INT;
        } else if (fieldType.equals(DAFFieldType_LONG.toLowerCase())) {
            dafFieldType = DAFFieldType.LONG;
        } else if (fieldType.equals(DAFFieldType_STRING.toLowerCase())) {
            dafFieldType = DAFFieldType.STRING;
        }
        return dafFieldType;
    }