Class DescriptiveMetadataMapper
- java.lang.Object
-
- fr.gouv.vitam.worker.core.mapping.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
-
-
Constructor Summary
Constructors Constructor Description DescriptiveMetadataMapper()
constructor
-
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
-
-
-
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)
-
-