Skip to content

clsRateTierFactorCollection

Enumerates risk-type factor 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 factor 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
AppliesTo Public ReadOnly Property AppliesTo(ByVal inRiskTypeCode As String, ByVal inDate As Date) As clsRateTierFactor Returns the factor for the specified risk type that applies on the requested date.
CurrentItem Public Shadows ReadOnly Property CurrentItem() As clsRateTierFactor Exposes the collection's current cursor item as a clsRateTierFactor.
Save Public Overrides Function Save() As Boolean Applies pending edits and persists the collection through the BOF base class.
Add Public Shadows Function Add(ByVal inRateTierFactor As clsRateTierFactor) As Integer Adds a rate tier factor to the managed collection.
Contains Public Overloads Function Contains(ByVal inRateTierFactor As clsRateTierFactor) As Boolean True when an equal rate tier factor is already in the live list.
Contains Public Overloads Function Contains(ByVal inRiskTypeCode As String, ByVal inEffectiveDate As Date) As Boolean True when the live list has a factor with the given risk type and exact effective date.
Contains Public Overloads Function Contains(ByVal inRiskTypeCode As String) As Boolean True when the live list has any factor for the given risk type.
Contains Public Overloads Function Contains(ByVal inEffectiveDate As Date) As Boolean True when the live list has any factor with the given effective date.
ContainsDeleted Public Overloads Function ContainsDeleted(ByVal inRateTierFactor As clsRateTierFactor) As Boolean True when an equal rate tier factor is already staged in the deleted list.
ContainsDeleted Public Overloads Function ContainsDeleted(ByVal inRiskTypeCode As String, ByVal inEffectiveDate As Date) As Boolean True when the deleted list contains a factor with the given risk type and effective date.
Remove Public Sub Remove(ByVal inRateTierFactor As clsRateTierFactor) Removes the supplied factor instance from the live list.
Remove Public Sub Remove(ByVal inRiskTypeCode As String, ByVal inEffectiveDate As Date) Removes the first live factor matching the given risk type and effective date.
Where Public Function Where(ByVal match As Predicate(Of clsRateTierFactor)) As clsRateTierFactorCollection Returns a new collection containing items that satisfy the supplied predicate.
GetRateTierFactors Public Shared Function GetRateTierFactors(ByVal inDataportal As IDataPortalInfo) As clsRateTierFactorCollection Retrieves risk-type factor rows using the key, date, or period criteria supplied by this overload.
GetRateTierFactorCollection Public Shared Function GetRateTierFactorCollection(ByVal inDataportal As IDataPortalInfo) As clsRateTierFactorCollection Retrieves risk-type factor 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\clsRateTierFactorCollection.vb