Skip to content

clsWorkStatus

clsWorkStatus represents an effective-dated work-status entry for a claim, with validation of status code, entry date, and sequence relative to injury and leave-work dates.

Purpose

  • Track one work-status record associated with a claim.
  • Enforce the work-status date, code, and sequencing rules surfaced by the public methods.

Context

  • Namespace: SAIF.Business.Claim.Maintenance
  • Assembly/package: SAIF.Business.Claim.Maintenance

Public members

Member Signature Purpose
MyCriteria Public ReadOnly Property MyCriteria() As Criteria Returns my criteria.
NewClaimWorkStatusSeqNum Public Function NewClaimWorkStatusSeqNum() As Decimal Executes the NewClaimWorkStatusSeqNum operation.
Copy Public Shadows Function Copy() As clsWorkStatus Exposes the public member.
Equals Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean Exposes the public member.
Equals Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean Exposes the public member.
Equals Public Overloads Function Equals(ByVal inObject As clsWorkStatus) As Boolean Exposes the public member.
GetHashCode Public Overrides Function GetHashCode() As Integer Retrieves the GetHashCode operation.
ToString Public Overrides Function ToString() As String Exposes the public member.
WorkStatusDateValid Public Function WorkStatusDateValid(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.
WorkStatusDate_InjuryDate Public Function WorkStatusDate_InjuryDate(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.
WorkStatusDate_LeaveWorkDate Public Function WorkStatusDate_LeaveWorkDate(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.
WorkStatusDateSequenceValid Public Function WorkStatusDateSequenceValid(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.
WorkStatusCodeRequired Public Function WorkStatusCodeRequired(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.
WorkStatusDateRequired Public Function WorkStatusDateRequired(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.

Inherited public members

Member Signature Purpose Origin
MyGuid Public ReadOnly Property MyGuid() As String Returns the object's generated GUID identifier.* Legacy\BusinessObjectFramework — clsBusinessBase
IsNew Public ReadOnly Property IsNew() As Boolean Indicates whether the object represents unsaved data.* Legacy\BusinessObjectFramework — clsBusinessBase
IsDeleted Public ReadOnly Property IsDeleted() As Boolean Indicates whether the object has been marked for deletion.* Legacy\BusinessObjectFramework — clsBusinessBase
SetValueOnChange Public Function SetValueOnChange(Of T)(ByRef inFieldValue As T, ByVal inSetValue As T, Optional ByVal inMarkDirty As Boolean = True) As Boolean Assigns a new field value only when it differs and optionally marks the object dirty.* Legacy\BusinessObjectFramework — clsBusinessBase
Rules Public ReadOnly Property Rules() As clsRulesManager Exposes the BOF rules manager for validation and messages.* Legacy\BusinessObjectFramework — clsBusinessBase
Save Public Overridable Function Save() As Boolean Persists the object through the BOF save pipeline.* Legacy\BusinessObjectFramework — clsBusinessBase
SaveChild Public Overridable Function SaveChild() As Boolean Persists the object as a BOF child object.* Legacy\BusinessObjectFramework — clsBusinessBase
ToXml Public Function ToXml() As String Returns the object's XML representation using the configured default tag name.* Legacy\BusinessObjectFramework — clsBusinessBase

Behavioral notes

  • This type is documented from its source declaration.
  • The type participates in the clsBusinessBase inheritance path used by SAIF.Business.Claim.Maintenance.

Constraints and usage notes

  • Consumers should rely on the public members and BOF lifecycle patterns visible in the source file.

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.Claim.Maintenance\clsWorkStatus.vb
  • Legacy\BusinessObjectFramework\clsBusinessBase.vb