Skip to content

clsRatingPlanCodeCollection

Enumerates rating-plan 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 rating-plan 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
Contains Public Overloads Function Contains(ByVal inCode As String) As Boolean True when a live rating-plan-code row has the supplied code.
ContainsDeleted Public Overloads Function ContainsDeleted(ByVal inRatingPlanCode As clsRatingPlanCode) As Boolean True when a deleted row compares equal to the supplied rating-plan-code object.
ContainsDeleted Public Overloads Function ContainsDeleted(ByVal inCode As String) As Boolean True when a deleted row has the supplied code.
Remove Public Overloads Sub Remove(ByVal inRatingPlanCode As clsRatingPlanCode) Removes the supplied rating-plan-code object from the live list.
Remove Public Overloads Sub Remove(ByVal inCode As String) Removes the first live rating-plan-code row whose Code matches the supplied value.
GetRatingPlanCodes Public Shared Function GetRatingPlanCodes(ByVal inDataportal As IDataPortalInfo) As clsRatingPlanCodeCollection Retrieves rating-plan 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\clsRatingPlanCodeCollection.vb