Skip to content

clsLossControlPolicyServicePlan

Encapsulates the loss-control service plan record associated with a policy; holds service plan code and related classification attributes used by loss-control premium and reporting workflows.*

Purpose

  • Persists and retrieves the loss-control service plan code and attributes for a policy.*
  • Consumed by loss-control premium computation workflows that require service plan classification.*

Context

  • Namespace: SAIF.Business.Policy.Premium
  • Assembly/package: SAIF.Business.Policy.Premium

Public members

Member Signature Purpose
PolicyNumber Public Property PolicyNumber() As Decimal The numeric policy number identifying the policy to which this record belongs.
EffectiveDate Public Property EffectiveDate() As Date The date from which this record is effective.
LossControlServicePlanCode Public Property LossControlServicePlanCode() As String Oracle code value used to classify this business object.*
CreateUser Public Property CreateUser() As String The username of the account that created this record.
CreatedDate Public Property CreatedDate() As Date Business value exposed as created date for callers of this API.*
ExpirationDate Public Property ExpirationDate() As Date The date on which this record expires; null indicates no expiration.*
UpdateUser Public Property UpdateUser() As String The username of the account that last modified this record.*
UpdateDate Public Property UpdateDate() As Date The timestamp of the most recent update to this record.*
IsValid Public Overrides ReadOnly Property IsValid() As Boolean Returns True when all registered business rules pass; delegates to the framework rule engine.
IsDirty Public Overrides ReadOnly Property IsDirty() As Boolean Returns True when one or more tracked properties have been modified since the last save or MarkOld() call.
SetExpirationDateNull Public Sub SetExpirationDateNull() Clears ExpirationDate, marking it as null/unset so the column will be written as NULL on the next save.*
SetUpdateUserNull Public Sub SetUpdateUserNull() Clears UpdateUser, marking it as null/unset so the column will be written as NULL on the next save.*
SetUpdateDateNull Public Sub SetUpdateDateNull() Clears UpdateDate, marking it as null/unset so the column will be written as NULL on the next save.*
IsExpirationDateNull Public Function IsExpirationDateNull() As Boolean Tests whether ExpirationDate is null/unset in the backing Oracle column; returns True when the value has not been populated.*
IsUpdateUserNull Public Function IsUpdateUserNull() As Boolean Tests whether UpdateUser is null/unset in the backing Oracle column; returns True when the value has not been populated.*
IsUpdateDateNull Public Function IsUpdateDateNull() As Boolean Tests whether UpdateDate is null/unset in the backing Oracle column; returns True when the value has not been populated.*
Equals Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean Static overload: compares two Object references for equality using value-equality semantics.*
Equals Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean Compares this instance with another Object instance for value equality.*
Equals Public Overloads Function Equals(ByVal inObject As clsLossControlPolicyServicePlan) As Boolean Compares this instance with another clsLossControlPolicyServicePlan instance for value equality.*
GetHashCode Public Overrides Function GetHashCode() As Integer Returns a hash code consistent with the value-equality implementation.
ToString Public Overrides Function ToString() As String Returns a string representation of this instance, typically for diagnostics.*
GetLossControlPolicyServicePlan Public Shared Function GetLossControlPolicyServicePlan(ByVal inDataportal As IDataPortalInfo, ByVal inPolicyNumber As Decimal, ByVal inServiceDate As Date) As clsLossControlPolicyServicePlan Loads a cls loss control policy service plan that matches the supplied lookup criteria.
## Inherited public members
Member Signature Purpose Origin
Rules Property Rules As clsRulesManager Framework rules manager used to register, evaluate, and surface broken rules on the object.† SAIF.Framework.Core — clsBusinessBase
BeginEdit Sub BeginEdit() Starts an n-level edit session so callers can stage changes.† SAIF.Framework.Core — clsBusinessBase
CancelEdit Sub CancelEdit() Rolls back the active edit session.† SAIF.Framework.Core — clsBusinessBase
ApplyEdit Sub ApplyEdit() Commits the active edit session.† SAIF.Framework.Core — clsBusinessBase

Behavioral notes

  • Source file: Business\SAIF.Business.Policy.Premium\clsLossControlPolicyServicePlan.vb.

Constraints and usage notes

  • Service plan code must correspond to a valid loss-control service plan reference entry.*

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.Policy.Premium\clsLossControlPolicyServicePlan.vb