clsUSLHWCompFactor¶
Represents the effective USL&HW compensation factor. The class supplies the USL&HW multiplier that applies only to USLH manual classes.
Purpose¶
- Represents the effective USL&HW compensation factor.
- The class supplies the USL&HW multiplier that applies only to USLH manual classes.
Context¶
- Namespace:
SAIF.Business.Policy.Rating - Assembly/package:
SAIF.Business.Policy.Rating
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Factor | Public ReadOnly Property Factor() As Decimal |
Stored USL&HW multiplier for this market type and effective date row. |
| EffectiveDate | Public ReadOnly Property EffectiveDate() As Date |
Effective date that identifies this USL&HW factor row. |
| MarketTypeCode | Public ReadOnly Property MarketTypeCode() As String |
Market type code that this factor row applies to. |
| MarketType | Public ReadOnly Property MarketType() As Enums.MarketTypes |
Enum conversion of MarketTypeCode for policy-market comparisons. |
| CreateDate | Public ReadOnly Property CreateDate() As Date |
Timestamp when this factor row was created. |
| CreateUser | Public ReadOnly Property CreateUser() As String |
User ID that created this USL&HW factor row. |
| UpdateDate | Public ReadOnly Property UpdateDate() As Date |
Timestamp of the last update to this factor row. |
| UpdateUser | Public ReadOnly Property UpdateUser() As String |
User ID that last updated this factor row. |
| ExpirationDate | Public ReadOnly Property ExpirationDate() As Date |
Date after which this factor row no longer applies. |
| EffectiveRange | Public ReadOnly Property EffectiveRange() As DateRange |
Date range built from EffectiveDate and ExpirationDate for applicability checks. |
| Factor | Public Property Factor(ByVal inAdjustedRateProvider As iAdjustedRateProvider) As Decimal Implements iAdjustedRateFactor.Factor |
Returns the stored USL&HW multiplier only when the provider's manual-class type is USLH; otherwise returns the neutral factor. |
| IsExpirationDateNull | Public Function IsExpirationDateNull() As Boolean |
Reports whether this factor row has no expiration date. |
| Equals | Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean |
Returns True only when both objects have the same market type and effective date. |
| Equals | Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean |
Returns True only when the supplied object has the same market type and effective date. |
| Equals | Public Overloads Function Equals(ByVal inObject As clsUSLHWCompFactor) As Boolean |
Compares USL&HW factor rows by MarketType and EffectiveDate. |
| GetHashCode | Public Overrides Function GetHashCode() As Integer |
Hashes EffectiveDate, the value this type uses as its identity key in keyed collections. |
| GetUSLHWCompFactor | Public Shared Function GetUSLHWCompFactor(ByVal inDataportal As IDataPortalInfo, ByVal inAsOfDate As Date, ByVal inMarketType As Enums.MarketTypes) As clsUSLHWCompFactor |
Retrieves the effective USL&HW compensation factor identified by the key values or effective-date criteria supplied by the caller. |
| GetUSLHWCompFactor | Public Shared Function GetUSLHWCompFactor(ByVal inDataportal As IDataPortalInfo, ByVal inAsOfDate As Date, ByVal inMarketTypeCode As String) As clsUSLHWCompFactor |
Retrieves the effective USL&HW compensation factor identified by the key values or effective-date criteria supplied by the caller. |
| ValidUSLHWCompFactor | Public Function ValidUSLHWCompFactor(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean |
BOF rule method that requires a non-default effective date before the row is treated as valid. |
| EffectiveDate | Public Property EffectiveDate() As Date |
Criteria effective date used to retrieve a USL&HW factor row. |
| MarketTypeCode | Public Property MarketTypeCode() As String |
Criteria market type code used to retrieve a USL&HW factor row. |
| New | Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo) |
Creates an empty BOF object shell that shared factory methods or retrieval logic can populate with a loaded row. |
| New | Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inEffectiveDate As Date, ByVal inMarketTypeCode As String) |
Creates a criteria-backed instance seeded with inEffectiveDate, inMarketTypeCode so the next retrieval runs in the caller's requested context. |
| ## Inherited public members | ||
| Member | Signature | Purpose |
| --- | --- | --- |
| Rules | Property Rules As clsRulesManager |
Owns the BOF rules manager used to evaluate registered validation logic.† |
| BeginEdit | Sub BeginEdit() |
Opens an n-level edit session for the business object.† |
| CancelEdit | Sub CancelEdit() |
Rolls back the active edit scope.† |
| ApplyEdit | Sub ApplyEdit() |
Commits the active edit scope.† |
| Error | ReadOnly Property Error As String |
Surfaces aggregate broken-rule text through IDataErrorInfo.† |
| ## Behavioral notes | ||
- Provider-aware factor selection returns the stored multiplier only when the target manual class type is USLH. |
||
| ## Constraints and usage notes | ||
- Use the provider-aware Factor(...) member when composing rates; it already enforces the USLH-only applicability rule. |
||
> 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\clsUSLHWCompFactor.vb |