fillBasic(c, g, id);
c.addWantedField("Valid"); String column = (String) STSMapper.granularities.get(g); if (column != null) c.addFilter(column, new Integer(id));
    public static Criteria buildBasicCriteria(String g, int id)    {        Criteria c = new Criteria();        fillBasic(c, g, id);        return c;    }