c.addWantedField("image"); c.addFilter("image_id", "IN", ids);
c.addFilter("image_id", new Integer(imageID));
    public static Criteria buildImageAnnotationCriteria(List ids)    {        Criteria c = new Criteria();        fillAnnotationCriteria(c);        c.addWantedField("TheZ");        c.addWantedField("TheT");        c.addWantedField("image");        c.addFilter("image_id", "IN", ids);        return c;    }