Class RuleMapper
java.lang.Object
fr.gouv.vitam.worker.core.mapping.RuleMapper
Map data base representation of rules to a jaxb representation => Map RuleCategoryModel to CommonRule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfillCommonRule
(CommonRule rule) This generic method is used to map data base model of rule to jaxbfillHoldRule
(fr.gouv.culture.archivesdefrance.seda.v2.HoldRuleType rule)
-
Constructor Details
-
RuleMapper
public RuleMapper()
-
-
Method Details
-
fillCommonRule
This generic method is used to map data base model of rule to jaxb- Parameters:
rule
-- Returns:
- rule category
-
fillHoldRule
-