Skip to content

clsWorkRelease

clsWorkRelease represents an effective-dated work-release entry for a claim, with validation against injury and leave-work timelines.

Purpose

  • Track one work-release record associated with a claim.
  • Enforce the work-release 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.
NewClaimWorkRelStatusSeqNum Public Function NewClaimWorkRelStatusSeqNum() As Decimal Executes the NewClaimWorkRelStatusSeqNum operation.
Copy Public Shadows Function Copy() As clsWorkRelease 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 clsWorkRelease) 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.
WorkReleaseDateValid Public Function WorkReleaseDateValid(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.
WorkReleaseDate_InjuryDate Public Function WorkReleaseDate_InjuryDate(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.
WorkReleaseDate_LeaveWorkDate Public Function WorkReleaseDate_LeaveWorkDate(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.
WorkReleaseDateSequenceValid Public Function WorkReleaseDateSequenceValid(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.
WorkReleaseCodeRequired Public Function WorkReleaseCodeRequired(ByVal target As Object, ByVal e As clsRuleArgs) As Boolean Exposes the public member.
WorkReleaseDateRequired Public Function WorkReleaseDateRequired(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\clsWorkRelease.vb
  • Legacy\BusinessObjectFramework\clsBusinessBase.vb