Interface MetadataContributor<RecordType>
-
- All Known Implementing Classes:
ArXivIdMetadataContributor,CombinedMetadatumContributor,EnhancedSimpleMetadataContributor,MultipleMetadataContributor,PubmedDateMetadatumContributor,PubmedLanguageMetadatumContributor,SimpleMetadataContributor,SimpleXpathMetadatumContributor
public interface MetadataContributor<RecordType>- Author:
- Roeland Dillen (roeland at atmire dot com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 objectsvoidsetMetadataFieldMapping(MetadataFieldMapping<RecordType,MetadataContributor<RecordType>> rt)Set the metadataFieldMapping
-
-
-
Method Detail
-
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
-
-