clsPrepayFrequencyCodeCollection¶
Enumerates prepay frequency 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 prepay frequency 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 |
|---|---|---|
| ActiveAsOf | Public ReadOnly Property ActiveAsOf(ByVal inAsOfDate As Date) As IEnumerable(Of clsPrepayFrequency) |
Returns only prepay frequency rows whose DiscountFactor(inAsOfDate) resolves to a non-Nothing factor. |
| CurrentItem | Public Shadows ReadOnly Property CurrentItem() As clsPrepayFrequency |
Exposes the collection's current cursor item as a clsPrepayFrequency. |
| Save | Public Overrides Function Save() As Boolean |
Applies pending edits and persists the collection through the BOF base class. |
| Contains | Public Overloads Function Contains(ByVal inPrepayFrequency As clsPrepayFrequency) As Boolean |
True when an equal prepay frequency entry is already in the live list. |
| Contains | Public Overloads Function Contains(ByVal inCode As String) As Boolean |
True when the live list has a prepay frequency with the specified code. |
| GetPrepayFrequencies | Public Shared Function GetPrepayFrequencies(ByVal inDataportal As IDataPortalInfo) As clsPrepayFrequencyCodeCollection |
Retrieves prepay frequency 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\clsPrepayFrequencyCollection.vb |