Class DescriptiveMetadataMapper


  • public class DescriptiveMetadataMapper
    extends java.lang.Object
    Map the object DescriptiveMetadataContentType generated by jaxb when parse manifest.xml To a local java object DescriptiveMetadataModel that should match Unit data base model
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String findDefaultTextType​(java.util.List<fr.gouv.culture.archivesdefrance.seda.v2.TextType> textTypes)  
      DescriptiveMetadataModel map​(fr.gouv.culture.archivesdefrance.seda.v2.DescriptiveMetadataContentType metadataContentType)
      Map jaxb DescriptiveMetadataContentType to local DescriptiveMetadataModel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DescriptiveMetadataMapper

        public DescriptiveMetadataMapper()
        constructor
    • Method Detail

      • map

        public DescriptiveMetadataModel map​(fr.gouv.culture.archivesdefrance.seda.v2.DescriptiveMetadataContentType metadataContentType)
        Map jaxb DescriptiveMetadataContentType to local DescriptiveMetadataModel
        Parameters:
        metadataContentType - JAXB Object
        Returns:
        DescriptiveMetadataModel
      • findDefaultTextType

        public java.lang.String findDefaultTextType​(java.util.List<fr.gouv.culture.archivesdefrance.seda.v2.TextType> textTypes)