data = new AnnotationData(imgA.getID(), ownerID, time); data.setAnnotation(imgA.getContent());
data = new AnnotationData(da.getID(), ownerID, time); data.setAnnotation(da.getContent());
    public static void fillDatasetAnnotations(List l, Map map)    {        Iterator i = l.iterator();        DatasetAnnotation imgA;        AnnotationData data;        int ownerID;        List list;        Timestamp time = null;        while (i.hasNext()) {            imgA = (DatasetAnnotation) i.next();            list = new ArrayList();            if (imgA.getTimestamp() != null)                time = new Timestamp(imgA.getTimestamp().longValue());            else time = getTimestamp();            Experimenter experimenter = imgA.getExperimenter();            ownerID = experimenter.getID();            data = new AnnotationData(imgA.getID(), ownerID, time);            data.setAnnotation(imgA.getContent());            data.setOwnerFirstName(experimenter.getFirstName());            data.setOwnerLastName(experimenter.getLastName());            list.add(data);            map.put(new Integer(ownerID), list);        }    }