clsPrepayDiscountFactorCollection¶
Enumerates prepay discount 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 prepay discount 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 |
|---|---|---|
| CurrentItem | Public Shadows ReadOnly Property CurrentItem() As clsPrepayDiscountFactor |
Exposes the collection's current cursor item as a clsPrepayDiscountFactor. |
| Add | Public Shadows Function Add(ByVal inclsPrepayDiscountFactor As clsPrepayDiscountFactor) As Integer |
Adds a prepay discount factor row to the collection. |
| Contains | Public Overloads Function Contains(ByVal inPrepayDiscountFactor As clsPrepayDiscountFactor) As Boolean |
True when an equal prepay discount factor is already in the live list. |
| Contains | Public Overloads Function Contains(ByVal inPrepayFrequencyCode As String) As Boolean |
True when the live list has any factor for the given prepay frequency code. |
| Contains | Public Overloads Function Contains(ByVal inPrepayFrequencyCode As String, ByVal inSelectDate As Date) As Boolean |
True when the live list has a factor for the code whose effective range covers the selected date. |
| Where | Public Function Where(ByVal match As Predicate(Of clsPrepayDiscountFactorCollection)) As clsPrepayDiscountFactorCollection |
Delegates to ListWhere to build a filtered collection from the supplied predicate. |
| GetPrepayDiscountFactors | Public Shared Function GetPrepayDiscountFactors(ByVal inDataportal As IDataPortalInfo) As clsPrepayDiscountFactorCollection |
Retrieves prepay discount factor rows using the key, date, or period criteria supplied by this overload. |
| GetPrepayDiscountFactors | Public Shared Function GetPrepayDiscountFactors(ByVal inDataportal As IDataPortalInfo, ByVal inSelectDate As Date) As clsPrepayDiscountFactorCollection |
Retrieves prepay discount 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\clsPrepayDiscountFactorCollection.vb |