Package fr.gouv.vitam.worker.core.mapping

# 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 Summary

  Constructors
  Constructor
  Description
  `DescriptiveMetadataMapper()`
  constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `findDefaultTextType(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 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)