Class OpenAlexPublicationFieldMapping

java.lang.Object
org.dspace.importer.external.metadatamapping.AbstractMetadataFieldMapping
org.dspace.importer.external.openalex.metadatamapping.OpenAlexPublicationFieldMapping
All Implemented Interfaces:
MetadataFieldMapping

public class OpenAlexPublicationFieldMapping extends AbstractMetadataFieldMapping
An implementation of AbstractMetadataFieldMapping responsible for defining the mapping of the OpenAlex Works metadatum fields on the DSpace Publication metadatum fields
Author:
Adamo Fapohunda (adamo.fapohunda at 4science.com)
  • Constructor Details

    • OpenAlexPublicationFieldMapping

      public OpenAlexPublicationFieldMapping()
  • Method Details

    • setMetadataFieldMap

      public void setMetadataFieldMap(Map metadataFieldMap)
      Description copied from class: AbstractMetadataFieldMapping
      Defines which metadatum is mapped on which metadatum. Note that while the key must be unique it only matters here for postprocessing of the value. The mapped MetadatumContributor has full control over what metadatafield is generated.
      Overrides:
      setMetadataFieldMap in class AbstractMetadataFieldMapping
      Parameters:
      metadataFieldMap - The map containing the link between retrieve metadata and metadata that will be set to the item.