mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +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 cka = bit.getChecksumAlgorithm();
|
||||||
String oname = bit.getSource();
|
String oname = bit.getSource();
|
||||||
String name = bit.getName();
|
String name = bit.getName();
|
||||||
|
String description = bit.getDescription();
|
||||||
|
|
||||||
if (name != null)
|
if (name != null)
|
||||||
bitstream.getField().add(
|
bitstream.getField().add(
|
||||||
@@ -207,6 +208,9 @@ public class ItemUtils
|
|||||||
if (oname != null)
|
if (oname != null)
|
||||||
bitstream.getField().add(
|
bitstream.getField().add(
|
||||||
createValue("originalName", name));
|
createValue("originalName", name));
|
||||||
|
if (description != null)
|
||||||
|
bitstream.getField().add(
|
||||||
|
createValue("description", description));
|
||||||
bitstream.getField().add(
|
bitstream.getField().add(
|
||||||
createValue("format", bit.getFormat()
|
createValue("format", bit.getFormat()
|
||||||
.getMIMEType()));
|
.getMIMEType()));
|
||||||
|
Reference in New Issue
Block a user