Class AbstractMetadataFieldMapping<RecordType>

    • Constructor Detail

      • AbstractMetadataFieldMapping

        public AbstractMetadataFieldMapping()
    • Method Detail

      • setMetadataProcessorMap

        public void setMetadataProcessorMap​(Map<MetadataFieldConfig,​MetadataProcessorService> metadataProcessorMap)
        Set a map of metadataprocessors. This map is used to process metadata to make it more compliant for certain metadata fields
        Parameters:
        metadataProcessorMap - the new map.
      • getMetadataProcessor

        public MetadataProcessorService getMetadataProcessor​(MetadataFieldConfig metadataField)
        Return the metadataProcessor used to update values to make them more compliant for certain goals
        Parameters:
        metadataField - to retrieve processor for
        Returns:
        metadataProcessor
      • setMetadataFieldMap

        public void setMetadataFieldMap​(Map<MetadataFieldConfig,​MetadataContributor<RecordType>> metadataFieldMap)
        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.
        Parameters:
        metadataFieldMap - The map containing the link between retrieve metadata and metadata that will be set to the item.