Skip to content

clsNonEmployerAccount

clsNonEmployerAccount covers account holders that carry an account number but no policy, such as third parties billed directly. Its contact fields are individually nullable in the source table, so the type exposes an explicit null test for each one; consumers must use those rather than compare against empty strings, because an absent value and a blank value mean different things here.

Purpose

  • Retrieves a non-employer account by account number (Retrieve supporting policy aggregates).
  • Reports which of its address and telephone fields are absent rather than blank.
  • Publishes the maximum account number width the account key supports.

Context

  • Namespace: SAIF.Business.View.Policy
  • Assembly/package: SAIF.BOF.Business.View.Policy
  • Declared in: Business/SAIF.Business.View.Policy/clsNonEmployerAccount.vb

Public members

Member Signature Purpose
MaxNonEmployerAccountNumber Public Const MaxNonEmployerAccountNumber As Integer = 17 The widest account number the non-employer account key supports; consumers validate against it before querying.*
AccountNumber Public ReadOnly Property AccountNumber() As Decimal Identifier of the account attached to the non-employer account.*
Name Public ReadOnly Property Name() As String Name of the entity recorded against the non-employer account.*
UpdateSeqNum Public ReadOnly Property UpdateSeqNum() As Decimal Identifier of the update sequence attached to the non-employer account.*
UpdateUser Public ReadOnly Property UpdateUser() As String Account of the user who performed the update action on the non-employer account.*
UpdateDate Public ReadOnly Property UpdateDate() As Date The update date recorded on the non-employer account.*
AddressLine1 Public ReadOnly Property AddressLine1() As String The address line1 recorded on the non-employer account.*
AddressLine2 Public ReadOnly Property AddressLine2() As String The address line2 recorded on the non-employer account.*
CityName Public ReadOnly Property CityName() As String Name of the city recorded against the non-employer account.*
StateCode Public ReadOnly Property StateCode() As String Coded value classifying the state of the non-employer account.*
ZipCode Public ReadOnly Property ZipCode() As String Coded value classifying the zip of the non-employer account.*
ZipCodeExtension Public ReadOnly Property ZipCodeExtension() As String The zip code extension recorded on the non-employer account.*
PhoneNumber Public ReadOnly Property PhoneNumber() As String Identifier of the phone attached to the non-employer account.*
IsAddressLine1Null Public Function IsAddressLine1Null() As Boolean True when address line1 null applies to the non-employer account.*
IsAddressLine2Null Public Function IsAddressLine2Null() As Boolean True when address line2 null applies to the non-employer account.*
IsCityNameNull Public Function IsCityNameNull() As Boolean True when city name null applies to the non-employer account.*
IsStateCodeNull Public Function IsStateCodeNull() As Boolean True when state code null applies to the non-employer account.*
IsZipCodeNull Public Function IsZipCodeNull() As Boolean True when zip code null applies to the non-employer account.*
IsZipCodeExtensionNull Public Function IsZipCodeExtensionNull() As Boolean True when zip code extension null applies to the non-employer account.*
IsPhoneNumberNull Public Function IsPhoneNumberNull() As Boolean True when phone number null applies to the non-employer account.*
Equals Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean Compares two instances for equality without requiring either reference to be non-null.
Equals Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean Compares this instance with an arbitrary object.
Equals Public Overloads Function Equals(ByVal inObject As clsNonEmployerAccount) As Boolean Compares this instance with another of the same type.
GetHashCode Public Overrides Function GetHashCode() As Integer Hashes on the same values that define equality for this type.
GetNonEmployerAccount Public Shared Function GetNonEmployerAccount(ByVal inDataportal As IDataPortalInfo, ByVal inAccountNumber As Decimal) As clsNonEmployerAccount Returns the non employer account associated with the non-employer account.*

Inherited public members

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

Member Signature Purpose Origin
IsValid Public Overridable ReadOnly Property IsValid() As Boolean Reports whether the object currently breaks any registered business rule.† SAIF.Framework.Core — clsBusinessBase
IsSavable Public Overridable ReadOnly Property IsSavable() As Boolean Reports whether the object may be written back; the read-only types in this library override it to refuse persistence.† SAIF.Framework.Core — clsBusinessBase
BrokenRulesCollection Public ReadOnly Property BrokenRulesCollection() As clsBrokenRulesCollection Carries the messages for the rules currently broken, which is what drives IsValid to false.† SAIF.Framework.Core — clsBusinessBase

Note: Statements marked with † are derived from dependency library documentation via the Legends CLI. Statements marked with * were inferred from code structure or contextual evidence. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business/SAIF.Business.View.Policy/clsNonEmployerAccount.vb