Class DescriptiveMetadataMapper

java.lang.Object
fr.gouv.vitam.worker.core.mapping.DescriptiveMetadataMapper

public class DescriptiveMetadataMapper extends 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
  • Constructor Details

    • DescriptiveMetadataMapper

      public DescriptiveMetadataMapper()
      constructor
  • Method Details

    • 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 String findDefaultTextType(List<fr.gouv.culture.archivesdefrance.seda.v2.TextType> textTypes)