mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
XOAI add bitstream description to xoai metadata format
This commit is contained in:
@@ -200,6 +200,7 @@ public class ItemUtils
|
||||
String cka = bit.getChecksumAlgorithm();
|
||||
String oname = bit.getSource();
|
||||
String name = bit.getName();
|
||||
String description = bit.getDescription();
|
||||
|
||||
if (name != null)
|
||||
bitstream.getField().add(
|
||||
@@ -207,6 +208,9 @@ public class ItemUtils
|
||||
if (oname != null)
|
||||
bitstream.getField().add(
|
||||
createValue("originalName", name));
|
||||
if (description != null)
|
||||
bitstream.getField().add(
|
||||
createValue("description", description));
|
||||
bitstream.getField().add(
|
||||
createValue("format", bit.getFormat()
|
||||
.getMIMEType()));
|
||||
|
Reference in New Issue
Block a user