Merge pull request 'Transformative agreement' (#29) from transformative_agreement into master

Reviewed-on: #29
This commit is contained in:
Claudio Atzori 2024-01-29 16:29:00 +01:00
commit 9ef028aca1
1 changed files with 14 additions and 0 deletions

View File

@ -155,6 +155,16 @@ public class Result extends OafEntity implements Serializable {
private Boolean publiclyFunded;
private String transformativeAgreement;
public String getTransformativeAgreement() {
return transformativeAgreement;
}
public void setTransformativeAgreement(String transformativeAgreement) {
this.transformativeAgreement = transformativeAgreement;
}
public Field<String> getProcessingchargeamount() {
return processingchargeamount;
}
@ -770,6 +780,10 @@ public class Result extends OafEntity implements Serializable {
processingchargecurrency = r.getProcessingchargecurrency();
}
if (Objects.isNull(getTransformativeAgreement()) && Objects.nonNull(r.getTransformativeAgreement())) {
setTransformativeAgreement(r.getTransformativeAgreement());
}
eoscifguidelines = mergeLists(eoscifguidelines, r.getEoscifguidelines());
setIsGreen(mergeBooleanOR(getIsGreen(), r.getIsGreen()));