Project

General

Profile

« Previous | Next » 

Revision 53664

Updatged string identifier type reference to use enum

View differences:

modules/dnet-collector-plugins/trunk/src/main/java/eu/dnetlib/data/collector/plugins/schemaorg/SchemaOrgMainKaggle.java
40 40
        params.put("createdDateFormat", "YYYY-MM-DD");
41 41
        params.put("publicationDateFormat", "YYYY-MM-DD");
42 42
        params.put("contributorFallbackType", DatasetDocument.Contributor.ContributorType.Other.toString());
43
        params.put("identifierFallbackType", "Handle");
43
        params.put("identifierFallbackType", DatasetDocument.Identifier.IdentifierType.Handle.toString());
44 44
        params.put("identifierFallbackURL", Boolean.toString(true));
45 45
        params.put("identifierMappingARK", "ark, ARK");
46 46
        params.put("identifierMappingDOI", "doi, DOI");
modules/dnet-collector-plugins/trunk/src/main/java/eu/dnetlib/data/collector/plugins/schemaorg/SchemaOrgMainReactome.java
41 41
        params.put("createdDateFormat", "YYYY-MM-DD");
42 42
        params.put("publicationDateFormat", "YYYY-MM-DD");
43 43
        params.put("contributorFallbackType", DatasetDocument.Contributor.ContributorType.Other.toString());
44
        params.put("identifierFallbackType", "Handle");
44
        params.put("identifierFallbackType", DatasetDocument.Identifier.IdentifierType.Handle.toString());
45 45
        params.put("identifierFallbackURL", Boolean.toString(true));
46 46
        params.put("identifierMappingARK", "ark, ARK");
47 47
        params.put("identifierMappingDOI", "doi, DOI");

Also available in: Unified diff