Class ArchiveUnitMapper
- java.lang.Object
-
- fr.gouv.vitam.worker.core.mapping.ArchiveUnitMapper
-
public class ArchiveUnitMapper extends java.lang.Object
map 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 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)
mappingDataObjectReference
mapAndValidateDataObjectReference(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) throws ProcessingMalformedDataException, ProcessingObjectReferenceException
mapping- Parameters:
archiveUnitType
-id
-groupId
-operationId
-unitType
-- Returns:
- ArchiveUnitRoot
- Throws:
ProcessingMalformedDataException
ProcessingObjectReferenceException
-
mapAndValidateDataObjectReference
public DataObjectReference mapAndValidateDataObjectReference(fr.gouv.culture.archivesdefrance.seda.v2.ArchiveUnitType archiveUnitType) throws ProcessingObjectReferenceException
-
-