Interface MetadataFieldMapping<RecordType,QueryType>

All Known Implementing Classes:
AbstractMetadataFieldMapping, AbstractPlainMetadataSource, ADSFieldMapping, ArXivFieldMapping, BibtexImportMetadataSourceServiceImpl, CharacterSeparatedImportMetadataSourceServiceImpl, CiniiFieldMapping, CrossRefFieldMapping, DataCiteFieldMapping, DataCiteProjectFieldMapping, EndnoteImportMetadataSourceServiceImpl, EpoFieldMapping, OpenAIREPublicationFieldMapping, OpenAlexFunderFieldMapping, OpenAlexInstitutionFieldMapping, OpenAlexJournalFieldMapping, OpenAlexPersonFieldMapping, OpenAlexPublicationFieldMapping, OpenAlexPublisherFieldMapping, PubmedEuropeFieldMapping, PubmedFieldMapping, RisImportMetadataSourceServiceImpl, RorFieldMapping, ScieloFieldMapping, ScopusFieldMapping, VuFindFieldMapping, WOSFieldMapping

public interface MetadataFieldMapping<RecordType,QueryType>
Represents an interface for the mapping of the metadatum fields
Author:
Roeland Dillen (roeland at atmire dot com)
  • Method Details

    • toDCValue

      MetadatumDTO toDCValue(MetadataFieldConfig field, String value)
      Parameters:
      field - MetadataFieldConfig representing what to map the value to
      value - The value to map to a MetadatumDTO
      Returns:
      A metadatumDTO created from the field and value
    • resultToDCValueMapping

      Collection<MetadatumDTO> resultToDCValueMapping(RecordType record)
      Create a collection of MetadatumDTO retrieved from a given RecordType
      Parameters:
      record - Used to retrieve the MetadatumDTO
      Returns:
      Collection of MetadatumDTO