Class ArchiveUnitMapper
- java.lang.Object
-
- fr.gouv.vitam.worker.core.mapping.ArchiveUnitMapper
-
public class ArchiveUnitMapper extends java.lang.Objectmap archive unit to model
-
-
Constructor Summary
Constructors Constructor Description ArchiveUnitMapper(DescriptiveMetadataMapper descriptiveMetadataMapper, RuleMapper ruleMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArchiveUnitRootmap(fr.gouv.culture.archivesdefrance.seda.v2.ArchiveUnitType archiveUnitType, java.lang.String id, java.lang.String groupId, java.lang.String operationId, java.lang.String unitType, java.lang.String sedaVersion)mappingDataObjectReferencemapAndValidateDataObjectReference(fr.gouv.culture.archivesdefrance.seda.v2.ArchiveUnitType archiveUnitType)
-
-
-
Constructor Detail
-
ArchiveUnitMapper
public ArchiveUnitMapper(DescriptiveMetadataMapper descriptiveMetadataMapper, RuleMapper ruleMapper)
-
-
Method Detail
-
map
public ArchiveUnitRoot map(fr.gouv.culture.archivesdefrance.seda.v2.ArchiveUnitType archiveUnitType, java.lang.String id, java.lang.String groupId, java.lang.String operationId, java.lang.String unitType, java.lang.String sedaVersion) throws ProcessingMalformedDataException, ProcessingObjectReferenceException
mapping- Parameters:
archiveUnitType-id-groupId-operationId-unitType-sedaVersion-- Returns:
- ArchiveUnitRoot
- Throws:
ProcessingMalformedDataExceptionProcessingObjectReferenceException
-
mapAndValidateDataObjectReference
public DataObjectReference mapAndValidateDataObjectReference(fr.gouv.culture.archivesdefrance.seda.v2.ArchiveUnitType archiveUnitType) throws ProcessingObjectReferenceException
-
-