* @param o
* This is a digital object selected from the objects tree
*/
public void fillDetails(DigitalObject o)
{
detailEntries.add(new DetailEntry(
DOJCRConstants.PREMIS_TITLE, o.getTitle()));
if (o.getPermanentUri() != null) {
detailEntries.add(new DetailEntry(
DOJCRConstants.PREMIS_PERMANENT_URI, o.getPermanentUri()
.toString()));
}
if (o.getFormat() != null) {
detailEntries.add(new DetailEntry(DOJCRConstants.PREMIS_FORMAT_URI,
o.getFormat().toString()));
}
// fill meta data
Iterator<Metadata> iterMetadata = o.getMetadata().iterator();