Skip to content

clsManualClassParagraph

Represents paragraph text used in manual class descriptions. The class is retrieved through BOF criteria objects and exposes the loaded row to rating callers.

Purpose

  • Represents paragraph text used in manual class descriptions.
  • The class is retrieved through BOF criteria objects and exposes the loaded row to rating callers.

Context

  • Namespace: SAIF.Business.Policy.Rating
  • Assembly/package: SAIF.Business.Policy.Rating

Public members

Member Signature Purpose
Member Public Const RETRIEVE_SQL As String = "Select " & "MANUAL_CLASS_PARAGRAPH.PARAGRAPH_NUM as ParagraphID, " & "MANUAL_CLASS_PARAGRAPH.CLASS_PARAGRAPH as ParagraphText, " & "MANUAL_CLASS_PARAGRAPH.CREATE_DATE as CreateDate, " & "MANUAL_CLASS_PARAGRAPH.CREATE_USER as CreateUser, " & "MANUAL_CLASS_PARAGRAPH.UPDATE_DATE as UpdateDate, " & "MANUAL_CLASS_PARAGRAPH.UPDATE_USER as UpdateUser" & " From " & "MANUAL_CLASS_PARAGRAPH" Base SELECT statement that retrieves manual class paragraph text plus its audit fields from MANUAL_CLASS_PARAGRAPH.
CreateDate Public ReadOnly Property CreateDate() As Date Audit timestamp recording when the paragraph row was created.
CreateUser Public ReadOnly Property CreateUser() As String Audit user ID that created the paragraph row.
UpdateDate Public ReadOnly Property UpdateDate() As Date Audit timestamp for the most recent update to the paragraph row.
UpdateUser Public ReadOnly Property UpdateUser() As String Audit user ID that last updated the paragraph row.
ParagraphID Public ReadOnly Property ParagraphID() As String Paragraph number that uniquely identifies the manual class paragraph row.
ParagraphText Public Property ParagraphText() As String Stored manual class description text for this paragraph number.
Equals Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean Compares two objects as manual-class paragraphs by delegating to typed equality.
Equals Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean Treats another object as equal only when it is a clsManualClassParagraph with the same paragraph number.
Equals Public Overloads Function Equals(ByVal inObject As clsManualClassParagraph) As Boolean Uses ParagraphID as the identity comparison for two paragraph records.
GetHashCode Public Overrides Function GetHashCode() As Integer Hashes ParagraphID, the value this type uses as its identity key in keyed collections.
NewManualClassParagraph Public Shared Function NewManualClassParagraph(ByVal inDataportal As IDataPortalInfo, Optional ByVal inParagraphID As String = "") As clsManualClassParagraph Creates a new manual class paragraph; when no paragraph ID is supplied, creation uses the database-side next-value lookup described in the tech-debt note.
GetManualClassParagraph Public Shared Function GetManualClassParagraph(ByVal inDataportal As IDataPortalInfo, ByVal inParagraphID As String) As clsManualClassParagraph Retrieves the paragraph text used in manual class descriptions identified by the key values or effective-date criteria supplied by the caller.
ParagraphID Public Property ParagraphID() As String Criteria paragraph number used to retrieve, update, delete, or insert a specific paragraph row.
New Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo) Creates an empty BOF object shell that shared factory methods or retrieval logic can populate with a loaded row.
New Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inParagraphID As String) Creates a criteria-backed instance seeded with inParagraphID so the next retrieval runs in the caller's requested context.
## Inherited public members
Member Signature Purpose
--- --- ---
Rules Property Rules As clsRulesManager Owns the BOF rules manager used to evaluate registered validation logic.†
BeginEdit Sub BeginEdit() Opens an n-level edit session for the business object.†
CancelEdit Sub CancelEdit() Rolls back the active edit scope.†
ApplyEdit Sub ApplyEdit() Commits the active edit scope.†
Error ReadOnly Property Error As String Surfaces aggregate broken-rule text through IDataErrorInfo.†
## Behavioral notes
- The object layers convenience logic over the loaded row, such as equality keys, related-row resolution, or validation helpers.
## Constraints and usage notes
- Retrieve the row with the same keys and effective context that the caller will use later, because helper members derive additional data from that loaded state.
> Note: Statements marked with † are derived from dependency library
> documentation via the Legends CLI. They describe inherited behavior from the
> indicated origin library and should be verified if the dependency version changes.
## Sources
- Business\SAIF.Business.Policy.Rating\clsManualClassParagraph.vb