  private static AbstractValueType mapNumericType(SPSSVariable variable) {
    switch(getSpssNumericDataType(variable)) {
      case COMMA: 
      case DOLLAR: 
      case DOT: 
      case FIXED: 
      case SCIENTIFIC: 
        return variable.getDecimals() > 0 ? DecimalType.get() : IntegerType.get();
      case DATE: 
      case ADATE: 
      case EDATE: 
      case SDATE: 
        return DateType.get();
      case DATETIME: 
        return DateTimeType.get();
      case TIME: 
      case JDATE: 
      case DTIME: 
      case WEEK_DAY: 
      case MONTH: 
      case MONTH_YEAR: 
      case QUARTERLY_YEAR: 
      case WEEK_YEAR: 
      case CUSTOM_CURRENCY_A: 
      case CUSTOM_CURRENCY_B: 
      case CUSTOM_CURRENCY_C: 
      case CUSTOM_CURRENCY_D: 
      case CUSTOM_CURRENCY_E: 
      default:
        return TextType.get();
    }
  }

  private static AbstractValueType mapNumericType(SPSSVariable variable) {
    switch(getSpssNumericDataType(variable)) {
      case COMMA: 
      case DOLLAR: 
      case DOT: 
      case FIXED: 
      case SCIENTIFIC: 
        return variable.getDecimals() > 0 ? DecimalType.get() : IntegerType.get();
      case ADATE: 
      case EDATE: 
      case SDATE: 
        return DateType.get();
      case DATETIME: 
        return DateTimeType.get();
      case DATE: 
      case TIME: 
      case JDATE: 
      case DTIME: 
      case WEEK_DAY: 
      case MONTH: 
      case MONTH_YEAR: 
      case QUARTERLY_YEAR: 
      case WEEK_YEAR: 
      case CUSTOM_CURRENCY_A: 
      case CUSTOM_CURRENCY_B: 
      case CUSTOM_CURRENCY_C: 
      case CUSTOM_CURRENCY_D: 
      case CUSTOM_CURRENCY_E: 
      default:
        return TextType.get();
    }
  }
