Skip to content

clsBenefitJurisdictionCodeMap

clsBenefitJurisdictionCodeMap is an extended code map that loads and caches the BENEFIT_JURISDICTION_CODE reference table, translating persisted code/code_descr rows into BenefitJurisdictions enum values. Construction is Friend-scoped, so callers obtain the singleton instance through the shared CodeMaps.GetBenefitJurisdictionCodeMap factory method rather than constructing it directly.

Purpose

  • Load the BENEFIT_JURISDICTION_CODE table via select code, code_descr from BENEFIT_JURISDICTION_CODE and populate an in-memory map keyed by the persisted code.
  • Translate only the recognized codes ("S" → State, "F" → Federal) into the map; unrecognized codes are not added, per BR-POL-014.
  • Cache the loaded map until an explicit refresh is requested through the shared factory method, per BR-POL-013.

Context

  • Namespace: SAIF.Business.Policy
  • Assembly/package: SAIF.Business.Policy

Public members

Member Signature Purpose
New Friend Sub New(ByVal inDPI As IDataPortalInfo, ByVal includeNull As Boolean) Constructs the map by executing the code-table query against the supplied data portal; scoped Friend so instances are only created internally, via CodeMaps.GetBenefitJurisdictionCodeMap.

Behavioral notes

  • Source declaration: Business\SAIF.Business.Policy\CodeMaps\clsBenefitJurisdictionCodeMap.vb.
  • Related operations, rules, and SQL are cross-referenced from the library-level documentation.

Constraints and usage notes

  • Consumers should rely on the declared public surface rather than internal implementation details.

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.Policy\CodeMaps\clsBenefitJurisdictionCodeMap.vb