Class RuleMapper

  • public class RuleMapper
    extends java.lang.Object
    Map data base representation of rules to a jaxb representation => Map RuleCategoryModel to CommonRule
    • Constructor Detail

      • RuleMapper

        public RuleMapper()
    • Method Detail

      • fillCommonRule

        public RuleCategoryModel fillCommonRule​(CommonRule rule)
        This generic method is used to map data base model of rule to jaxb
        rule -
        rule category
      • fillHoldRule

        public RuleCategoryModel fillHoldRule​(fr.gouv.culture.archivesdefrance.seda.v2.HoldRuleType rule)