[Datasource / Service] datasource_model_eosc #16
|
@ -578,6 +578,12 @@ public class Datasource extends OafEntity implements Serializable {
|
||||||
datasourcetypeui = d.getDatasourcetypeui() != null && compareTrust(this, e) < 0
|
datasourcetypeui = d.getDatasourcetypeui() != null && compareTrust(this, e) < 0
|
||||||
? d.getDatasourcetypeui()
|
? d.getDatasourcetypeui()
|
||||||
: datasourcetypeui;
|
: datasourcetypeui;
|
||||||
|
eosctype = d.getEosctype() != null && compareTrust(this, e) < 0
|
||||||
|
? d.getEosctype()
|
||||||
|
: eosctype;
|
||||||
|
eoscdatasourcetype = d.getEoscdatasourcetype() != null && compareTrust(this, e) < 0
|
||||||
|
? d.getEoscdatasourcetype()
|
||||||
|
: eoscdatasourcetype;
|
||||||
openairecompatibility = d.getOpenairecompatibility() != null && compareTrust(this, e) < 0
|
openairecompatibility = d.getOpenairecompatibility() != null && compareTrust(this, e) < 0
|
||||||
? d.getOpenairecompatibility()
|
? d.getOpenairecompatibility()
|
||||||
: openairecompatibility;
|
: openairecompatibility;
|
||||||
|
@ -651,14 +657,13 @@ public class Datasource extends OafEntity implements Serializable {
|
||||||
: datauploadrestriction;
|
: datauploadrestriction;
|
||||||
|
|
||||||
versioning = d.getVersioning() != null && compareTrust(this, e) < 0 ? d.getVersioning() : versioning;
|
versioning = d.getVersioning() != null && compareTrust(this, e) < 0 ? d.getVersioning() : versioning;
|
||||||
|
versioncontrol = d.getVersioncontrol() != null && compareTrust(this, e) < 0
|
||||||
|
? d.getVersioncontrol()
|
||||||
|
: versioncontrol;
|
||||||
citationguidelineurl = d.getCitationguidelineurl() != null && compareTrust(this, e) < 0
|
citationguidelineurl = d.getCitationguidelineurl() != null && compareTrust(this, e) < 0
|
||||||
? d.getCitationguidelineurl()
|
? d.getCitationguidelineurl()
|
||||||
: citationguidelineurl;
|
: citationguidelineurl;
|
||||||
|
|
||||||
// {yes, no, unknown}
|
|
||||||
qualitymanagementkind = d.getQualitymanagementkind() != null && compareTrust(this, e) < 0
|
|
||||||
? d.getQualitymanagementkind()
|
|
||||||
: qualitymanagementkind;
|
|
||||||
pidsystems = d.getPidsystems() != null && compareTrust(this, e) < 0 ? d.getPidsystems() : pidsystems;
|
pidsystems = d.getPidsystems() != null && compareTrust(this, e) < 0 ? d.getPidsystems() : pidsystems;
|
||||||
|
|
||||||
certificates = d.getCertificates() != null && compareTrust(this, e) < 0
|
certificates = d.getCertificates() != null && compareTrust(this, e) < 0
|
||||||
|
@ -669,6 +674,10 @@ public class Datasource extends OafEntity implements Serializable {
|
||||||
|
|
||||||
journal = d.getJournal() != null && compareTrust(this, e) < 0 ? d.getJournal() : journal;
|
journal = d.getJournal() != null && compareTrust(this, e) < 0 ? d.getJournal() : journal;
|
||||||
|
|
||||||
|
researchentitytypes = d.getResearchentitytypes() != null && compareTrust(this, e) < 0
|
||||||
|
? d.getResearchentitytypes()
|
||||||
|
: researchentitytypes;
|
||||||
|
|
||||||
researchentitytypes = mergeLists(researchentitytypes, d.getResearchentitytypes());;
|
researchentitytypes = mergeLists(researchentitytypes, d.getResearchentitytypes());;
|
||||||
|
|
||||||
providedproducttypes = mergeLists(providedproducttypes, d.getProvidedproducttypes());;
|
providedproducttypes = mergeLists(providedproducttypes, d.getProvidedproducttypes());;
|
||||||
|
@ -687,6 +696,15 @@ public class Datasource extends OafEntity implements Serializable {
|
||||||
|
|
||||||
contentpolicies = mergeLists(contentpolicies, d.getContentpolicies());;
|
contentpolicies = mergeLists(contentpolicies, d.getContentpolicies());;
|
||||||
|
|
||||||
|
submissionpolicyurl = d.getSubmissionpolicyurl() != null && compareTrust(this, e) < 0
|
||||||
|
? d.getSubmissionpolicyurl()
|
||||||
|
: submissionpolicyurl;
|
||||||
|
preservationpolicyurl = d.getPreservationpolicyurl() != null && compareTrust(this, e) < 0
|
||||||
|
? d.getPreservationpolicyurl()
|
||||||
|
: preservationpolicyurl;
|
||||||
|
researchproductaccesspolicies = mergeLists(researchproductaccesspolicies, d.getResearchproductaccesspolicies());
|
||||||
|
researchproductmetadataaccesspolicies = mergeLists(researchproductmetadataaccesspolicies, d.getResearchproductmetadataaccesspolicies());
|
||||||
|
|
||||||
mergeOAFDataInfo(e);
|
mergeOAFDataInfo(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue