[EOSC Context Tagging] refactoring

This commit is contained in:
Miriam Baglioni 2022-07-25 11:12:22 +02:00
parent 06a95daf60
commit d091866e48
1 changed files with 8 additions and 8 deletions

View File

@ -121,14 +121,14 @@ public class SparkEoscBulkTag implements Serializable {
(value.getEoscifguidelines() != null && value.getEoscifguidelines().size() > 0)) { (value.getEoscifguidelines() != null && value.getEoscifguidelines().size() > 0)) {
Context context = new Context(); Context context = new Context();
context.setId("eosc"); context.setId("eosc");
OafMapperUtils context.setDataInfo(Arrays.asList(OafMapperUtils
.dataInfo( .dataInfo(
false, BULKTAG_DATA_INFO_TYPE, true, false, false, BULKTAG_DATA_INFO_TYPE, true, false,
OafMapperUtils OafMapperUtils
.qualifier( .qualifier(
CLASS_ID_DATASOURCE, CLASS_NAME_BULKTAG_DATASOURCE, CLASS_ID_DATASOURCE, CLASS_NAME_BULKTAG_DATASOURCE,
DNET_PROVENANCE_ACTIONS, DNET_PROVENANCE_ACTIONS), DNET_PROVENANCE_ACTIONS, DNET_PROVENANCE_ACTIONS),
TAGGING_TRUST); TAGGING_TRUST)));
value.getContext().add(context); value.getContext().add(context);
} }