Skip to content

clsAuditCondition

Current audit or edit condition row attached to unit-stat processing.

Purpose

  • Represent one current audit condition at the policy, exposure, or claim level.

Context

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

Public members

Member Signature Purpose
MULTIPLE_RATES Public Const MULTIPLE_RATES As String = "MULTIPLE RATES" Provides the MULTIPLE_RATES constant used by unit-stat processing.
MULTIPLE_SOURCE Public Const MULTIPLE_SOURCE As String = "MULTIPLE SOURCES" Provides the MULTIPLE_SOURCE constant used by unit-stat processing.
INVALID_ARD Public Const INVALID_ARD As String = "INVALID ARD" Provides the INVALID_ARD constant used by unit-stat processing.
AuditConditionSeqNum Public Property AuditConditionSeqNum() As Decimal Gets or sets audit condition seq num.
PolicyUnitSeqNum Public Property PolicyUnitSeqNum() As Decimal Gets or sets policy unit seq num.
AuditConditionDescription Public Property AuditConditionDescription() As String Gets or sets audit condition description.
ExposureSummarySeqNum Public Property ExposureSummarySeqNum() As Decimal Gets or sets exposure summary seq num.
ClaimID Public Property ClaimID() As Decimal Gets or sets claim id.
UpdateUser Public ReadOnly Property UpdateUser() As String Gets update user.
UpdateDate Public ReadOnly Property UpdateDate() As Date Gets update date.
EditTypeCode Public Property EditTypeCode() As String Gets or sets edit type code.
ErrorFlag Public Property ErrorFlag() As String Gets or sets error flag.
IsExposureSummarySeqNumNull Public Function IsExposureSummarySeqNumNull() As Boolean Indicates whether exposure summary seq num currently holds the framework null sentinel value.
IsClaimIDNull Public Function IsClaimIDNull() As Boolean Indicates whether claim id currently holds the framework null sentinel value.
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.
Equals Public Overloads Function Equals(ByVal inObject As clsAuditCondition) As Boolean Executes the member operation.
GetHashCode Public Overrides Function GetHashCode() As Integer Retrieves hash code.
ToString Public Overrides Function ToString() As String Executes the member operation.
NewAuditCondition Public Shared Function NewAuditCondition(ByVal inDataportal As IDataPortalInfo) As clsAuditCondition Creates a new audit condition instance.
GetAuditCondition Public Shared Function GetAuditCondition(ByVal inDataportal As IDataPortalInfo, ByVal inAuditConditionSeqNum As Decimal) As clsAuditCondition Retrieves audit condition.
AuditConditionSeqNum Public Property AuditConditionSeqNum() As Decimal Gets or sets audit condition seq num.
New Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo) Creates a new instance.
New Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inAuditConditionSeqNum As Decimal) Creates a new instance.

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

  • BR-US-004 requires a non-empty description before save.

Constraints and usage notes

  • Factory methods create new rows and retrieve rows by audit-condition sequence number.

Sources

  • Business\SAIF.Business.UnitStat\clsAuditCondition.vb
  • Legacy\BusinessObjectFramework\clsBusinessBase.vb