case SUM:  return "SUM"; case MIN:  return "MIN"; case MAX:  return "MAX"; case AVG:  return "AVG"; }
return getSQLString(orgAggregation); } if (variable.equalsIgnoreCase("Time")) { return getSQLString(timeAggregation); } if (variable.equalsIgnoreCase("Item")) { return getSQLString(itemAggregation); }
    public String getSQLString(int aggMethod)    {        switch (aggMethod)        {            case SUM:  return "SUM";            case MIN:  return "MIN";            case MAX:  return "MAX";            case AVG:  return "AVG";       }       return null;    }