align Result model with the latest OpenAIRE schema changes introduced in the protobuf model

This commit is contained in:
Claudio Atzori 2019-11-14 15:42:52 +01:00
parent 5711e75f67
commit 0c4b316f82
1 changed files with 24 additions and 0 deletions

View File

@ -45,6 +45,12 @@ public abstract class Result extends OafEntity implements Serializable {
private List<Context> context;
// ( article | book ) processing charges. Defined here to cope with possible wrongly typed results
private Field<String> processingchargeamount;
// currency - alphabetic code describe in ISO-4217. Defined here to cope with possible wrongly typed results
private Field<String> processingchargecurrency;
private List<ExternalReference> externalReference;
private List<Instance> instance;
@ -216,4 +222,22 @@ public abstract class Result extends OafEntity implements Serializable {
public void setInstance(List<Instance> instance) {
this.instance = instance;
}
public Field<String> getProcessingchargeamount() {
return processingchargeamount;
}
public Result setProcessingchargeamount(Field<String> processingchargeamount) {
this.processingchargeamount = processingchargeamount;
return this;
}
public Field<String> getProcessingchargecurrency() {
return processingchargecurrency;
}
public Result setProcessingchargecurrency(Field<String> processingchargecurrency) {
this.processingchargecurrency = processingchargecurrency;
return this;
}
}