Skip to content

clsRatingPlanFactorCollection

Enumerates rating-plan 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 rating-plan 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
AsOfDate Public ReadOnly Property AsOfDate() As Date Effective-date criterion that was used to load this collection.
AsOfDate Public ReadOnly Property AsOfDate(ByVal inAsOfDate As Date) As IEnumerable(Of clsRatingPlanFactor) Filters the collection to rating plan factors whose effective/expiration window covers the supplied date.
Contains Public Overloads Function Contains(ByVal inCode As String) As Boolean Checks the active list for a rating plan factor with the specified Code.
ContainsDeleted Public Overloads Function ContainsDeleted(ByVal inclsRatingPlanFactor As clsRatingPlanFactor) As Boolean Checks the deleted-items list for an equal clsRatingPlanFactor instance.
ContainsDeleted Public Overloads Function ContainsDeleted(ByVal inCode As String) As Boolean Checks the deleted-items list for a rating plan factor with the specified Code.
Remove Public Overloads Sub Remove(ByVal inclsRatingPlanFactor As clsRatingPlanFactor) Removes the specified rating plan factor object from the active list.
Remove Public Overloads Sub Remove(ByVal inCode As String) Removes the first active factor whose Code matches the supplied value.
GetRatingPlanFactors Public Shared Function GetRatingPlanFactors(ByVal inDataportal As IDataPortalInfo, ByVal inAsOfDate As Date) As clsRatingPlanFactorCollection Retrieves rating-plan factor rows using the key, date, or period criteria supplied by this overload.
GetRatingPlanFactors Public Shared Function GetRatingPlanFactors(ByVal inDataportal As IDataPortalInfo) As clsRatingPlanFactorCollection Retrieves rating-plan 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\clsRatingPlanFactorCollection.vb