Skip to content

clsRatingPlanValidationCollection

Enumerates rating-plan validation 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 validation 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
MarketType Public Function MarketType(ByVal inMarketType As Enums.MarketTypes) As IEnumerable(Of clsRatingPlanCode) Returns the rating plan code rows allowed for the specified market type.
RatingPlanCodes Public ReadOnly Property RatingPlanCodes() As clsRatingPlanCodeCollection Lazily loads and caches the rating plan code collection used to resolve validation rows.
Contains Public Overloads Function Contains(ByVal inMarketTypeCode As String) As Boolean Checks whether the active collection contains any validation row for the supplied market type code.
ContainsDeleted Public Overloads Function ContainsDeleted(ByVal inRatingPlanValidation As clsRatingPlanValidation) As Boolean Checks whether the deleted-items list already contains an equal validation row.
ContainsDeleted Public Overloads Function ContainsDeleted(ByVal inMarketTypeCode As String) As Boolean Checks whether the deleted-items list contains any row for the supplied market type code.
Remove Public Overloads Sub Remove(ByVal inRatingPlanValidation As clsRatingPlanValidation) Removes the specified validation row from the active collection list.
Remove Public Overloads Sub Remove(ByVal inMarketTypeCode As String) Removes the first active validation row whose MarketTypeCode matches the supplied code.
GetRatingPlanValidations Public Shared Function GetRatingPlanValidations(ByVal inDataportal As IDataPortalInfo) As clsRatingPlanValidationCollection Retrieves rating-plan validation 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\clsRatingPlanValidationCollection.vb