﻿---
title: clsManualClassDetail
summary: API reference for clsManualClassDetail.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Rating
reference_type: package
---
# clsManualClassDetail
Represents rate-file-independent manual-class attributes such as default usage code and flags. The class is retrieved through BOF criteria objects and exposes the loaded row to rating callers.
## Purpose
- Represents rate-file-independent manual-class attributes such as default usage code and flags.
- 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 |
| --- | --- | --- |
| ManualClassNumber | `Public Property ManualClassNumber() As String` | Manual class number that identifies the `MANUAL_CLASS_DETAIL` row. |
| DefaultUsageCode | `Public Property DefaultUsageCode() As String` | Default usage code applied when the manual class is used without a more specific usage override. |
| IsReviewRequired | `Public Property IsReviewRequired() As Boolean` | Boolean view of the review flag that marks the manual class for review handling. |
| IncludeAsPrincipalClass | `Public ReadOnly Property IncludeAsPrincipalClass() As Boolean` | Whether the class is eligible to be treated as a principal class; it is the inverse of the exclusion flag. |
| ExcludeAsPrincipalClass | `Public Property ExcludeAsPrincipalClass() As Boolean` | Flag that removes the manual class from principal-class eligibility. |
| IsConstructionClass | `Public Property IsConstructionClass() As Boolean` | Marks the manual class as a construction class. |
| IsFarmingClass | `Public Property IsFarmingClass() As Boolean` | Marks the manual class as a farming class. |
| IsLandscapeClass | `Public Property IsLandscapeClass() As Boolean` | Marks the manual class as a landscape class. |
| IsTimberClass | `Public Property IsTimberClass() As Boolean` | Marks the manual class as a timber class. |
| IsMunicipalClass | `Public Property IsMunicipalClass() As Boolean` | Marks the manual class as a municipal class. |
| CreateDate | `Public ReadOnly Property CreateDate() As Date` | Audit timestamp recording when the manual class detail row was created. |
| CreateUser | `Public ReadOnly Property CreateUser() As String` | Audit user ID that created the manual class detail row. |
| UpdateDate | `Public ReadOnly Property UpdateDate() As Date` | Audit timestamp for the most recent update to the manual class detail row. |
| UpdateUser | `Public ReadOnly Property UpdateUser() As String` | Audit user ID that last updated the manual class detail row. |
| Equals | `Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean` | Compares two objects as manual-class-detail records 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 `clsManualClassDetail` for the same manual class number. |
| Equals | `Public Overloads Function Equals(ByVal inObject As clsManualClassDetail) As Boolean` | Uses `ManualClassNumber` as the identity comparison for two manual class detail instances. |
| GetHashCode | `Public Overrides Function GetHashCode() As Integer` | Hashes `ManualClassNumber`, the value this type uses as its identity key in keyed collections. |
| ToString | `Public Overrides Function ToString() As String` | Uses the manual class number as the display identifier. |
| NewManualClassDetail | `Public Shared Function NewManualClassDetail(ByVal inDataportal As IDataPortalInfo, ByVal inManualClassNumber As String, ByVal inDefaultUsage As String) As clsManualClassDetail` | Creates a new manual class detail row seeded with its manual class number and default usage code. |
| GetManualClassDetail | `Public Shared Function GetManualClassDetail(ByVal inDataportal As IDataPortalInfo, ByVal inManualClassNumber As String) As clsManualClassDetail` | Retrieves the rate-file-independent manual-class attributes such as default usage code and flags identified by the key values or effective-date criteria supplied by the caller. |
| ManualClassNumber | `Public Property ManualClassNumber() As String` | Criteria key that identifies which manual class detail row to retrieve or persist. |
| DefaultUsage | `Public Property DefaultUsage() As String` | Default usage code supplied to criteria when creating a new manual class detail 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 inManualClassNumber As String)` | Creates a criteria-backed instance seeded with `inManualClassNumber` so the next retrieval runs in the caller's requested context. |
| New | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inManualClassNumber As String, ByVal inDefaultUsage As String)` | Creates a criteria-backed instance seeded with `inManualClassNumber`, `inDefaultUsage` so the next retrieval runs in the caller's requested context. |
## Inherited public members
| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| Rules | `Property Rules As clsRulesManager` | Owns the BOF rules manager used to evaluate registered validation logic.† | `SAIF.Framework.Core` — `clsBusinessBase` |
| BeginEdit | `Sub BeginEdit()` | Opens an n-level edit session for the business object.† | `SAIF.Framework.Core` — `clsBusinessBase` |
| CancelEdit | `Sub CancelEdit()` | Rolls back the active edit scope.† | `SAIF.Framework.Core` — `clsBusinessBase` |
| ApplyEdit | `Sub ApplyEdit()` | Commits the active edit scope.† | `SAIF.Framework.Core` — `clsBusinessBase` |
| Error | `ReadOnly Property Error As String` | Surfaces aggregate broken-rule text through `IDataErrorInfo`.† | `SAIF.Framework.Core` — `clsBusinessBase` |
## 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\clsManualClassDetail.vb`
