Interface MetadataContributor<RecordType>

All Known Implementing Classes:
ArrayJsonPathMetadataContributor, ArXivIdMetadataContributor, AuthorMetadataContributor, CombinedMetadatumContributor, ConditionEqualJsonPathMetadataContributor, EnhancedJsonPathAttributeConditionMetadataContributor, EnhancedSimpleMetadataContributor, EpoIdMetadataContributor, MultipleMetadataContributor, OpenAlexAuthorNameContributor, PageRangeXPathMetadataContributor, PubmedAbstractMetadatumContributor, PubmedDateMetadatumContributor, PubmedLanguageMetadatumContributor, ReplaceCharacterXPathMetadataContributor, RorParentOrgUnitMetadataContributor, SimpleConcatContributor, SimpleJsonPathMetadataContributor, SimpleMetadataContributor, SimpleMultiplePathContributor, SimpleRisToMetadataConcatContributor, SimpleRisToMetadataContributor, SimpleXpathDateFormatMetadataContributor, SimpleXpathMetadatumAndAttributeContributor, SimpleXpathMetadatumContributor, SplitMetadataContributor, WosAttribute2ValueContributor, WosIdentifierContributor, WosIdentifierRidContributor

public interface MetadataContributor<RecordType>
Author:
Roeland Dillen (roeland at atmire dot com)
  • Method Details

    • setMetadataFieldMapping

      void setMetadataFieldMapping(MetadataFieldMapping<RecordType,MetadataContributor<RecordType>> rt)
      Set the metadataFieldMapping
      Parameters:
      rt - the MetadataFieldMapping object to set to the MetadataContributor
    • contributeMetadata

      Collection<MetadatumDTO> contributeMetadata(RecordType t)
      Implementations have the responsibility to process/map their own type of metadata based on a given record and return a collection of the generalised MetadatumDTO objects
      Parameters:
      t - The recordType object to retrieve metadata from
      Returns:
      A collection of MetadatumDTO objects, retrieve from the recordtype