clsTaskSourceCode¶
clsTaskSourceCode represents a single, read-only row of TASK_SOURCE_CODE, exposing the code's mapped TaskSourceSystem enum value alongside its description.
Purpose¶
- Load and expose one source code, its description, and its corresponding
TaskSourceSystemenum value (SQL-011).
Context¶
- Namespace:
SAIF.Business.Tasks - Assembly/package:
SAIF.Business.Tasks(embedded in theLegalMaintenanceweb deployment)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
Code |
ReadOnly Property Code As String |
The source code value (TASK_SOURCE_CODE.CODE). |
Description |
ReadOnly Property Description As String |
Human-readable description (TASK_SOURCE_CODE.CODE_DESCR). |
TaskSourceSystem |
ReadOnly Property TaskSourceSystem As TaskSourceSystem |
The TaskSourceSystem enum value this code maps to. |
IsValid |
Shadows Function IsValid() As Boolean |
Shadows (not overrides) the base validity check; the interaction with the base IsValid and its intended semantics are unclear**. |
GetCode |
Shared Function GetCode(dpi As IDataPortalInfo, inCode As String) As clsTaskSourceCode |
Factory/retrieval entry point that loads a single source code by value (SQL-011). |
Criteria |
Friend Class Criteria (nested, implements IBusinessCriteria) |
Read-only criteria for this code table; write-SQL properties throw ApplicationException(clsConstants.Messages.InvalidSQLProperty) (BR-023). |
Behavioral notes¶
- The class is
<Serializable()>, consistent with remoting/session persistence of BOF objects across the web tier*.
Constraints and usage notes¶
- Any attempt to use
CreateSQL/InsertSQL/UpdateSQL/DeleteSQLon this type'sCriteriathrowsApplicationException(clsConstants.Messages.InvalidSQLProperty)(BR-023).
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.
Related documentation¶
Sources¶
- SAIF.Business.Tasks/clsTaskSourceCode.vb