Skip to content

clsExposureBase

Shared exposure-data base class for unit-stat exposure reporting.

Purpose

  • Implement the exposure-side contract shared by downstream concrete exposure types.

Context

  • Namespace: SAIF.Business.UnitStat
  • Assembly/package: SAIF.Business.UnitStat (distributed as NuGet package SAIF.BOF.Business.UnitStat)

Public members

Member Signature Purpose
ExposureSummarySeqNum Public ReadOnly Property ExposureSummarySeqNum() As Decimal Implements iExposureData.ExposureSummarySeqNum Gets exposure summary seq num.
PolicyUnitSeqNum Public ReadOnly Property PolicyUnitSeqNum() As Decimal Implements iExposureData.PolicyUnitSeqNum Gets policy unit seq num.
RateDate Public ReadOnly Property RateDate() As Date Implements iExposureData.RateDate Gets rate date.
ERModDate Public ReadOnly Property ERModDate() As Date Implements iExposureData.ERModDate Gets ermod date.
ClassNumber Public ReadOnly Property ClassNumber() As String Implements iExposureData.ClassNumber Gets class number.
CoverageCode Public ReadOnly Property CoverageCode() As String Implements iExposureData.CoverageCode Gets coverage code.
ClassRate Public Property ClassRate() As Decimal Implements iExposureData.ClassRate Gets or sets class rate.
ERModFactor Public Property ERModFactor() As Decimal Implements iExposureData.ERModFactor Gets or sets ermod factor.
ExposureQuantity Public Property ExposureQuantity() As Decimal Implements iExposureData.ExposureQuantity Gets or sets exposure quantity.
PremiumAmount Public Property PremiumAmount() As Decimal Implements iExposureData.PremiumAmount Gets or sets premium amount.
SplitCoverageNumber Public Property SplitCoverageNumber() As Decimal Implements iExposureData.SplitCoverageNumber Gets or sets split coverage number.
UpdateUser Public Property UpdateUser() As String Gets or sets update user.
UpdateDate Public Property UpdateDate() As Date Gets or sets update date.
UpdateNumber Public Property UpdateNumber() As Decimal Gets or sets update number.
SetExposureQuantityNull Public Sub SetExposureQuantityNull() Implements iExposureData.SetExposureQuantityNull Sets exposure quantity to the framework null sentinel value.
SetPremiumAmountNull Public Sub SetPremiumAmountNull() Implements iExposureData.SetPremiumAmountNull Sets premium amount to the framework null sentinel value.
SetSplitCoverageNumberNull Public Sub SetSplitCoverageNumberNull() Implements iExposureData.SetSplitCoverageNumberNull Sets split coverage number to the framework null sentinel value.
IsExposureQuantityNull Public Function IsExposureQuantityNull() As Boolean Implements iExposureData.IsExposureQuantityNull Indicates whether exposure quantity currently holds the framework null sentinel value.
IsPremiumAmountNull Public Function IsPremiumAmountNull() As Boolean Implements iExposureData.IsPremiumAmountNull Indicates whether premium amount currently holds the framework null sentinel value.
IsSplitCoverageNumberNull Public Function IsSplitCoverageNumberNull() As Boolean Implements iExposureData.IsSplitCoverageNumberNull Indicates whether split coverage number currently holds the framework null sentinel value.
CopyData Public Sub CopyData(ByVal inObjA As iExposureData, ByVal inObjB As iExposureData) Copies matching contract fields from one instance to another.
Equals Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean Executes the member operation.
Equals Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean Executes the member operation.

Inherited public members

Members in this section are inherited from clsBusinessBase in SAIF.BOF.Framework. They are available on this type through inheritance.

Member Signature Purpose Origin
MyGuid ReadOnly Property MyGuid() As String Gets the framework GUID assigned to the object. SAIF.BOF.Framework — clsBusinessBase
IsNew ReadOnly Property IsNew() As Boolean Indicates whether the object has not yet been persisted. SAIF.BOF.Framework — clsBusinessBase
IsDeleted ReadOnly Property IsDeleted() As Boolean Indicates whether the object is marked for deletion. SAIF.BOF.Framework — clsBusinessBase
IsSavable ReadOnly Property IsSavable() As Boolean Indicates whether the object is both dirty and valid. SAIF.BOF.Framework — clsBusinessBase
BeginEdit Sub BeginEdit() Begins an editable-object snapshot. SAIF.BOF.Framework — clsBusinessBase
CancelEdit Sub CancelEdit() Restores the prior editable-object snapshot and reapplies rules. SAIF.BOF.Framework — clsBusinessBase
ApplyEdit Sub ApplyEdit() Commits the current editable-object snapshot. SAIF.BOF.Framework — clsBusinessBase
Delete Sub Delete() Marks the object for deletion. SAIF.BOF.Framework — clsBusinessBase
Clone Function Clone() As Object Creates a clone of the object. SAIF.BOF.Framework — clsBusinessBase
Rules ReadOnly Property Rules() As clsRulesManager Gets the rules manager attached to the object. SAIF.BOF.Framework — clsBusinessBase
ErrorCount ReadOnly Property ErrorCount() As Integer Gets the current validation error count. SAIF.BOF.Framework — clsBusinessBase
ErrorMessages ReadOnly Property ErrorMessages() As String() Gets the current validation error messages. SAIF.BOF.Framework — clsBusinessBase
WarningCount ReadOnly Property WarningCount() As Integer Gets the current validation warning count. SAIF.BOF.Framework — clsBusinessBase
WarningMessages ReadOnly Property WarningMessages() As String() Gets the current validation warning messages. SAIF.BOF.Framework — clsBusinessBase
InformationalCount ReadOnly Property InformationalCount() As Integer Gets the current informational rule count. SAIF.BOF.Framework — clsBusinessBase
InformationalMessages ReadOnly Property InformationalMessages() As String() Gets the current informational rule messages. SAIF.BOF.Framework — clsBusinessBase
XMLElementName Property XMLElementName() As String Gets or sets the XML element name used by framework serialization. SAIF.BOF.Framework — clsBusinessBase
GetReportXML Function GetReportXML() As String Returns framework report XML for the object. SAIF.BOF.Framework — clsBusinessBase
ToXml Function ToXml() As String Serializes the object to XML. SAIF.BOF.Framework — clsBusinessBase

Behavioral notes

  • The base class implements iExposureData and centralizes exposure-data copying.

Constraints and usage notes

  • The base class supplies the shared exposure contract and copy helpers used by unit-stat exposure objects.

Sources

  • Business\SAIF.Business.UnitStat\clsExposureBase.vb
  • Business\SAIF.Business.UnitStat\iExposureData.vb
  • Legacy\BusinessObjectFramework\clsBusinessBase.vb