mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
metadata attributes place, authority, confidence in rest
This commit is contained in:

committed by
Raf Ponsaerts

parent
865b4256b9
commit
6ee687a4ae
@@ -47,6 +47,9 @@ public abstract class DSpaceObjectConverter<M extends DSpaceObject, R extends or
|
|||||||
me.setKey(mv.getMetadataField().toString('.'));
|
me.setKey(mv.getMetadataField().toString('.'));
|
||||||
me.setValue(mv.getValue());
|
me.setValue(mv.getValue());
|
||||||
me.setLanguage(mv.getLanguage());
|
me.setLanguage(mv.getLanguage());
|
||||||
|
me.setPlace(mv.getPlace());
|
||||||
|
me.setAuthority(mv.getAuthority());
|
||||||
|
me.setConfidence(mv.getConfidence());
|
||||||
metadata.add(me);
|
metadata.add(me);
|
||||||
}
|
}
|
||||||
return metadata;
|
return metadata;
|
||||||
|
@@ -19,6 +19,9 @@ public class MetadataEntryRest {
|
|||||||
String value;
|
String value;
|
||||||
|
|
||||||
String language;
|
String language;
|
||||||
|
int place;
|
||||||
|
String authority;
|
||||||
|
int confidence;
|
||||||
|
|
||||||
public String getKey() {
|
public String getKey() {
|
||||||
return key;
|
return key;
|
||||||
@@ -44,4 +47,27 @@ public class MetadataEntryRest {
|
|||||||
this.language = language;
|
this.language = language;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getPlace() {
|
||||||
|
return place;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPlace(int place) {
|
||||||
|
this.place = place;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAuthority() {
|
||||||
|
return authority;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAuthority(String authority) {
|
||||||
|
this.authority = authority;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getConfidence() {
|
||||||
|
return confidence;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setConfidence(int confidence) {
|
||||||
|
this.confidence = confidence;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user