clsBenefitJurisdictionCodeMap¶
clsBenefitJurisdictionCodeMap is an ExtendedCodeMap subclass that loads BENEFIT_JURISDICTION_CODE into a cached lookup of BenefitJurisdictions, populated once via CodeMaps.GetBenefitJurisdictionCodeMap and reused across calls until an explicit refresh (BR-POL-016). Its constructor is Friend, so instances can only be created within this assembly (i.e., by CodeMaps).
Purpose¶
- Load and hold a code-table mapping from
BENEFIT_JURISDICTION_CODErows toBenefitJurisdictionsenum members, recognising only"S"→Stateand"F"→Federal(BR-POL-012). - Serve as the underlying storage returned (and cached) by
CodeMaps.GetBenefitJurisdictionCodeMap.
Context¶
- Namespace:
SAIF.Business.Policy - Assembly/package:
SAIF.Business.Policy(PolicyCommon)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
(inherited ExtendedCodeMap lookup members) |
See Inherited public members below | Provide code-to-description/enum lookup over the loaded rows. |
Inherited public members¶
Members in this section are inherited from CTB.ExtendedCodeMap(Of String, BenefitJurisdictions, CTB.ExtendedCodeInfo(Of String, BenefitJurisdictions)) in SAIF.BOF.Framework. They are available on this type through inheritance.
| Member | Signature | Purpose | Origin |
|---|---|---|---|
| Code-table lookup members (e.g. indexers, enumeration) | Inherited from ExtendedCodeMap(Of TKey, TEnum, TInfo) |
Provide access to the loaded code/description/enum rows as a lookup collection.† | SAIF.BOF.Framework — CTB.ExtendedCodeMap |
Behavioral notes¶
- The constructor is
Friend, restricting instantiation toCodeMapswithin this assembly. - Loaded via the framework helper
SAIF.Framework.clsCodeTableBase.Fill(inDPI, MySQL)against SQL-001, iterating the resultingclsResultSetand adding only recognised rows (BR-POL-012). - Cached in a
Staticfield byCodeMaps.GetBenefitJurisdictionCodeMap, so this constructor runs at most once per app-domain unlessrefresh:=Trueis passed (BR-POL-016).
Constraints and usage notes¶
- Consumers obtain instances only through
CodeMaps.GetBenefitJurisdictionCodeMap, never by direct construction (the constructor isFriend).
Note: Statements marked with † were retrieved from dependency library documentation via the Legends CLI RAG service. They describe inherited behavior from the indicated origin library and should be verified if the dependency version changes.
Sources¶
- SAIF.Business.Policy/CodeMaps/clsBenefitJurisdictionCodeMap.vb