Commit 3c3e754d authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Adds descriptiveNote and duration to digital object

parent 85f53853
......@@ -202,7 +202,7 @@ class MappingConfig(directory: String) {
private fun parseDigitalInstantiationConfig(source: Map<String, Any>) {
for (entry in source) {
when (val key = entry.key) {
KEYS.locator ->
KEYS.locator, KEYS.descriptiveNote, KEYS.duration ->
digitalObjectFieldMappers.add(buildSimpleMappers(entry))
KEYS.rights ->
digitalObjectFieldMappers.addAll(buildRuleMappers(entry.value))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment