images.add(fillImageSummary((Image) i.next()));
images.add(ImageMapper.buildImageSummary((Image) i.next(), null));
	public static void fillDataset(Dataset dataset, DatasetData empty)	{		//Fill up the DataObject with the data coming from Project.		empty.setID(dataset.getID());		empty.setName(dataset.getName());		empty.setDescription(dataset.getDescription());						//Fill up the DataObject with data coming from Experimenter.		Experimenter owner = dataset.getOwner();		empty.setOwnerID(owner.getID());		empty.setOwnerFirstName(owner.getFirstName());		empty.setOwnerLastName(owner.getLastName());		empty.setOwnerEmail(owner.getEmail());		empty.setOwnerInstitution(owner.getInstitution());				//Fill up the DataObject with data coming from Group.		Group group = owner.getGroup();		empty.setOwnerGroupID(group.getID());		empty.setOwnerGroupName(group.getName());				//Create the image summary list.		List images = new ArrayList();		Iterator i = dataset.getImages().iterator();		while (i.hasNext()) 			images.add(fillImageSummary((Image) i.next()));				empty.setImages(images);		}