Package fr.gouv.vitam.common.mapping.dip
Class DescriptiveMetadataMapper
java.lang.Object
fr.gouv.vitam.common.mapping.dip.DescriptiveMetadataMapper
Map the object DescriptiveMetadataModel generated from Unit data base model To a jaxb object
DescriptiveMetadataContentType This help convert DescriptiveMetadataModel to xml using jaxb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfr.gouv.culture.archivesdefrance.seda.v2.DescriptiveMetadataContentType
map
(DescriptiveMetadataModel metadataModel, List<ArchiveUnitHistoryModel> historyListModel, SupportedSedaVersions supportedSedaVersion) Map local DescriptiveMetadataModel to jaxb DescriptiveMetadataContentType
-
Constructor Details
-
DescriptiveMetadataMapper
public DescriptiveMetadataMapper()
-
-
Method Details
-
map
public fr.gouv.culture.archivesdefrance.seda.v2.DescriptiveMetadataContentType map(DescriptiveMetadataModel metadataModel, List<ArchiveUnitHistoryModel> historyListModel, SupportedSedaVersions supportedSedaVersion) throws DatatypeConfigurationException, ExportException Map local DescriptiveMetadataModel to jaxb DescriptiveMetadataContentType- Parameters:
metadataModel
-historyListModel
-- Returns:
- a descriptive Metadata Content Type
- Throws:
DatatypeConfigurationException
ExportException
-