Class DescriptiveMetadataMapper


  • public class DescriptiveMetadataMapper
    extends java.lang.Object
    Map the object DescriptiveMetadataModel generated from Unit data base model To a jaxb object DescriptiveMetadataContentType This help convert DescriptiveMetadataModel to xml using jaxb
    • Constructor Detail

      • DescriptiveMetadataMapper

        public DescriptiveMetadataMapper()
    • Method Detail

      • map

        public fr.gouv.culture.archivesdefrance.seda.v2.DescriptiveMetadataContentType map​(DescriptiveMetadataModel metadataModel,
                                                                                           java.util.List<ArchiveUnitHistoryModel> historyListModel,
                                                                                           SupportedSedaVersions supportedSedaVersion)
                                                                                    throws javax.xml.datatype.DatatypeConfigurationException,
                                                                                           ExportException
        Map local DescriptiveMetadataModel to jaxb DescriptiveMetadataContentType
        Parameters:
        metadataModel -
        historyListModel -
        Returns:
        a descriptive Metadata Content Type
        Throws:
        javax.xml.datatype.DatatypeConfigurationException
        ExportException