clsRateTierCollection¶
Enumerates risk-type code rows. Its factory methods retrieve these rows through BOF criteria objects, and its helpers expose the keyed or effective-dated filters callers use after load.
Purpose¶
- Enumerates risk-type code rows.
- Its factory methods retrieve these rows through BOF criteria objects, and its helpers expose the keyed or effective-dated filters callers use after load.
Context¶
- Namespace:
SAIF.Business.Policy.Rating - Assembly/package:
SAIF.Business.Policy.Rating
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| CurrentItem | Public Shadows ReadOnly Property CurrentItem() As clsRateTier |
The collection item at the current BOF cursor position, cast to clsRateTier. |
| Defaults | Public ReadOnly Property Defaults() As clsRateTierCollection |
Subset containing only rate tiers flagged as default tiers. |
| MarketType | Public ReadOnly Property MarketType(ByVal inMarketType As Policy.Enums.MarketTypes) As clsRateTierCollection |
Subset containing only rate tiers whose MarketType matches the requested policy market. |
| Active | Public ReadOnly Property Active(ByVal inDate As Date) As clsRateTierCollection |
Subset containing only rate tiers whose effective span includes the requested date. |
| ManagedCareOrganization | Public ReadOnly Property ManagedCareOrganization(Optional ByVal inIsManagedCareOrganization As Boolean = True) As clsRateTierCollection |
Subset containing only rate tiers whose managed-care-organization flag matches the requested value. |
| IntegratedHealthCare | Public ReadOnly Property IntegratedHealthCare(Optional ByVal inIsIntegratedHealthCare As Boolean = True) As clsRateTierCollection |
Subset containing only rate tiers whose integrated-health-care flag matches the requested value. |
| Subset | Public ReadOnly Property Subset(ByVal inMarketType As Policy.Enums.MarketTypes, ByVal inDate As Date, ByVal inIsManagedCareOrganization As Boolean, ByVal inIsIntegratedHealthCare As Boolean) As clsRateTierCollection |
Combined filter that narrows the collection by market type, active date, managed-care status, and integrated-health-care status. |
| Add | Public Shadows Function Add(ByVal inRateTier As clsRateTier) As Integer |
Adds the supplied rate-tier object to the collection active list through the BOF base class. |
| Contains | Public Overloads Function Contains(ByVal inRateTier As clsRateTier) As Boolean |
Reports whether the active collection contains a rate tier equal to the supplied object. |
| Contains | Public Overloads Function Contains(ByVal inCode As String) As Boolean |
Reports whether the active collection contains a rate tier whose Code matches the supplied value. |
| ContainsDeleted | Public Overloads Function ContainsDeleted(ByVal inRateTier As clsRateTier) As Boolean |
Reports whether the deleted-items list contains a rate tier equal to the supplied object. |
| ContainsDeleted | Public Overloads Function ContainsDeleted(ByVal inCode As String) As Boolean |
Reports whether the deleted-items list contains a rate tier matching the supplied code. |
| Remove | Public Sub Remove(ByVal inRateTier As clsRateTier) |
Removes the supplied rate-tier object from the active collection list. |
| Remove | Public Sub Remove(ByVal inCode As String) |
Removes the first active rate tier whose Code matches the supplied value. |
| GetRateTiers | Public Shared Function GetRateTiers(ByVal inDataportal As IDataPortalInfo) As clsRateTierCollection |
Retrieves risk-type code rows using the key, date, or period criteria supplied by this overload. |
| GetRateTiers | Public Shared Function GetRateTiers(ByVal inDataportal As IDataPortalInfo, ByVal inMarketType As Policy.Enums.MarketTypes, ByVal inEffectiveDate As Date, Optional ByVal inIsManagedCareOrganization As Boolean = False, Optional ByVal inIsIntegratedHealthCare As Boolean = False) As clsRateTierCollection |
Retrieves risk-type code rows using the key, date, or period criteria supplied by this overload. |
| ## Inherited public members | ||
| Member | Signature | Purpose |
| --- | --- | --- |
| First | Sub First() |
Moves collection traversal to the first item.† |
| Last | Sub Last() |
Moves collection traversal to the last item.† |
| Next | Sub Next() |
Advances collection traversal to the next item.† |
| Previous | Sub Previous() |
Moves collection traversal to the previous item.† |
| Error | ReadOnly Property Error As String |
Surfaces collection-level broken-rule text through IDataErrorInfo.† |
| ## Behavioral notes | ||
| - Rows are loaded through the BOF data portal first; the collection then applies any additional in-memory filtering or keyed selection. | ||
| ## Constraints and usage notes | ||
- Lookups that do not find a matching row return Nothing or an empty filtered collection, so callers should handle missing results explicitly. |
||
> Note: Statements marked with † are derived from dependency library |
||
| > documentation via the Legends CLI. They describe inherited behavior from the | ||
| > indicated origin library and should be verified if the dependency version changes. | ||
| ## Sources | ||
- Business\SAIF.Business.Policy.Rating\clsRateTierCollection.vb |