Interface MetadataFieldMapping<RecordType,QueryType>
-
- All Known Implementing Classes:
AbstractMetadataFieldMapping,PubmedFieldMapping
public interface MetadataFieldMapping<RecordType,QueryType>Represents an interface for the mapping of the metadatum fields- Author:
- Roeland Dillen (roeland at atmire dot com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<MetadatumDTO>resultToDCValueMapping(RecordType record)Create a collection of MetadatumDTO retrieved from a given RecordTypeMetadatumDTOtoDCValue(MetadataFieldConfig field, String value)
-
-
-
Method Detail
-
toDCValue
MetadatumDTO toDCValue(MetadataFieldConfig field, String value)
- Parameters:
field- MetadataFieldConfig representing what to map the value tovalue- 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
-
-