is = new ImageSummary(); ImageMapper.buildImageSummary(classification.getImage(), is);
is = ImageMapper.buildImageSummary(classification.getImage(), null);
    private static CategoryData fillCategory(CategoryGroupData gData,                             CategoryData proto, Category c)    {        CategoryData model = (CategoryData) proto.makeNew();        model.setID(c.getID());        model.setName(c.getName());        model.setDescription(c.getDescription());        model.setCategoryGroup(gData);        Iterator i = c.getClassificationList().iterator();        Classification classification;        ClassificationData cData;        ImageSummary is;        Map map = new HashMap();        while (i.hasNext()) {            classification = (Classification) i.next();            //filter doesn't work when applies at the criteria level.            if (classification.isValid() != null &&                     classification.isValid().equals(Boolean.TRUE)) {                cData = buildClassificationData(classification);                is = new ImageSummary();                ImageMapper.buildImageSummary(classification.getImage(), is);                map.put(is, cData);             }        }        model.setClassifications(map);        return model;    }