if (title != null)
{
String titleField = this.dcMap.get("title");
if (titleField != null)
{
Metadatum dcv = this.makeDCValue(titleField, title);
this.addUniqueMetadata(dcv, item);
}
}
if (summary != null)
{
String abstractField = this.dcMap.get("abstract");
if (abstractField != null)
{
Metadatum dcv = this.makeDCValue(abstractField, summary);
this.addUniqueMetadata(dcv, item);
}
}
Map<String, List<String>> dc = se.getDublinCore();
for (String term : dc.keySet())
{
String dsTerm = this.dcMap.get(term);
if (dsTerm == null)
{
// ignore anything we don't understand
continue;
}
// now add all the metadata terms
Metadatum dcv = this.makeDCValue(dsTerm, null);
for (String value : dc.get(term))
{
dcv.value = value;
this.addUniqueMetadata(dcv, item);
}